Is there a way to customize the grass texturing?
For example if i want to cover my world in this, bound to the polygon grass we currently have- what must i do?
Grassy plains
Moderator: Moderators
Grassy plains
- Attachments
-
- SingleTextureDefinedGrass.jpg (29.17 KiB) Viewed 2869 times
Re: Grassy plains
Check https://springrts.com/wiki/Mapdev:grass , and try adding your custom map texture:
grassBladeTex = "",
grassShadingTex = "",
I haven't seen any used in games so there might be some limitations...! Would be interesting to see, grass can help make maps a bit more diverse.
grassBladeTex = "",
grassShadingTex = "",
I haven't seen any used in games so there might be some limitations...! Would be interesting to see, grass can help make maps a bit more diverse.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Grassy plains
I advise against using engine grass. It is extremely wasteful and doesn't render properly.
Re: Grassy plains
It has no shadow- but should be less wastfull to render then feature grass or the likes of that.
Its clearly instanced as in - one set of grassblades is reused again and again.
I tryied around with this.
Results:
Textures taken are bmp, tga and png
The Texture is upside down.
Transparancy is not factored in.
If the texture is not found the default grass texture is used.
Archievable effects are mainly subtile exotic differences.
It is not possible to specify a to be used geometry element.
It is not possible to customize the texture as i intended.
It is not possible to specify the height of the grass via map - or as a randomzed treshold.
Forb do you have a valid alternative suggestion?
Its clearly instanced as in - one set of grassblades is reused again and again.
I tryied around with this.
Results:
Textures taken are bmp, tga and png
The Texture is upside down.
Transparancy is not factored in.
If the texture is not found the default grass texture is used.
Archievable effects are mainly subtile exotic differences.
It is not possible to specify a to be used geometry element.
It is not possible to customize the texture as i intended.
It is not possible to specify the height of the grass via map - or as a randomzed treshold.
Forb do you have a valid alternative suggestion?
- Attachments
-
- screen00038.jpg
- (409.22 KiB) Not downloaded yet
-
- screen00037.jpg
- (447 KiB) Not downloaded yet
-
- screen00035.jpg
- (366.17 KiB) Not downloaded yet
Re: Grassy plains
Maybe you can override the grass shader. What if you override the grass shader.
Re: Grassy plains
where does said shadder lurk?
Re: Grassy plains
how so?Forboding Angel wrote:I advise against using engine grass. It is extremely wasteful and doesn't render properly.
Re: Grassy plains
so it is fixed now and is a non-issue provided it makes it into the next spring?