Grassy plains

Grassy plains

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Grassy plains

Post by PicassoCT »

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?


Image
Attachments
SingleTextureDefinedGrass.jpg
SingleTextureDefinedGrass.jpg (29.17 KiB) Viewed 2865 times
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Grassy plains

Post by gajop »

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.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Grassy plains

Post by Forboding Angel »

I advise against using engine grass. It is extremely wasteful and doesn't render properly.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: Grassy plains

Post by PicassoCT »

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.
Image
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
User avatar
Anarchid
Posts: 1384
Joined: 30 Nov 2008, 04:31

Re: Grassy plains

Post by Anarchid »

Maybe you can override the grass shader. What if you override the grass shader.
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10450
Joined: 24 Jan 2006, 21:12

Re: Grassy plains

Post by PicassoCT »

where does said shadder lurk?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Grassy plains

Post by smoth »

Forboding Angel wrote:I advise against using engine grass. It is extremely wasteful and doesn't render properly.
how so?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Grassy plains

Post by smoth »

so it is fixed now and is a non-issue provided it makes it into the next spring?
Post Reply

Return to “Map Creation”