- Home /
Question by
Sebjschindler · Jul 24, 2019 at 04:49 AM ·
terrainshadersgraphics
How do I set a Terrain object's Grass Texture's material?
Hello! I have a pretty annoying problem with Unity terrain. It's a great tool, but I want the grass in my game to actually cast shadows. I also want to be able to set the grass' material to a custom material to handle stuff like emission. I linked an image of the game as is. Notice the rocks, mushrooms, and grass do not cast any shadows yet the player does. Any insight/alternative means would be appreciated!
dtfu-min.png
(233.2 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612205417im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
LWRP - Placing markers on terrain and gameobject dynamically 0 Answers
Graphics.CopyTexture and location fo textures 0 Answers
post shader: reconstruct worldspace plane coordinates 1 Answer
materials in editor look good but in run-time ineditor(android) they are pink 0 Answers
Making terrain shaders work on iPhone 0 Answers