About Store Forum Documentation Contact



Post Reply 
D.grassShadow(false) does not work
Author Message
tipforeveryone Offline
Bronze Supporter

Post: #1
D.grassShadow(false) does not work
Grasses in my game seem to have grassShadow = true as default

Even using D.grassShadow(false) cant disable shadow on grass material with "Grass 3D" render technique

   

   

----
And Grass 3D + Ambient Occlussion is ugly

   
(This post was last modified: 08-19-2021 12:15 PM by tipforeveryone.)
08-19-2021 12:11 PM
Find all posts by this user Quote this message in a reply
tipforeveryone Offline
Bronze Supporter

Post: #2
RE: D.grassShadow(false) does not work
Ah found it, I must assign Grass Object Class to the model, but AO problem still persist
08-19-2021 03:33 PM
Find all posts by this user Quote this message in a reply
Esenthel Online
Administrator

Post: #3
RE: D.grassShadow(false) does not work
For flat billboard like grass, please use "Grass" technique in material, and set vertex normals to point up (mesh editor\operations\align normals up) - this must be called several times)
08-20-2021 06:12 AM
Find all posts by this user Quote this message in a reply
tipforeveryone Offline
Bronze Supporter

Post: #4
RE: D.grassShadow(false) does not work
Thank you! Grass technique + Vertex normal up solve problem completely! now my glass look perfect!
08-20-2021 09:57 AM
Find all posts by this user Quote this message in a reply
Post Reply