- Home /
Dupe, see referenced Answer.
grass animation changing color
i've added a grass texture, and when i look at it through the camera, it changes color from yellow to green and back to yellow during about 5 seconds, i have set both healthy and dry color to yellow since it's supposed to be dry grass... what's up with that? anyone?
no, i have tried deleting the lights, but it still happens... and even if there is a way to animate light color, I'll be damned if i know how to do it :P
this happens all the time for me as well. doesnt matter what the settings are the color slowly shifts from one shade to another in about 12 second intervals
Answer by tonycoculuzzi · Dec 18, 2011 at 07:15 AM
Just to answer this quickly, you can change the "Grass Tint" in the last tab of the Terrain properties.
This does not change the fact that the shader actively alters the grass color every 12 seconds.
It is the Grass Tint that drives the effect; if you set the Wind/Grass speed to 0, it stops the transition (dynamic) but not the initial effect of tinted grass painted on the terrain. I'm looking at how to negate "Grass Tint", once set.
Answer by getyour411 · Oct 07, 2015 at 11:46 PM
Best explanation I found:
http://answers.unity3d.com/questions/541456/why-does-the-grass-change-color-by-default.html
"...under the main terrain settings, set "Grass Tint" to a 50% gray value (r=g=b=128)"
Also found Forum post talking about this 'feature' from 2010 http://forum.unity3d.com/threads/need-terrain-grass-single-colour.53593/
Follow this Question
Related Questions
Can I make animations snap to a frame? 1 Answer
Array breaking when pushing floats into it via a for loop. 2 Answers
Trail of color behind the player 2D c# 1 Answer
Animating a character 1 Answer