Grass is being affected by light
Okay, so... I have seen a lot of different topics about "How to make the grass be affected by light", but i think i am the first (I THINK) to ask the inverse.
Have a look at these images: The first image is when the game isn't rendered. The second is when it is rendered. As you see, i have some point lights in my "police cars" <- don't know the name. They have let's say a blinking animation, what makes them... well... blink. The problem is that they are affecting my grass, making it ridiculously bright. Any idea of how to remove this thing? I've tried changing the terrain's tag to Terrain and then unselecting it in the lights culling mask and reducing the light's range.
Did you rebake your light$$anonymous$$aps after your changes to correct the issue? At the lightning Window
I suppose you could remove point/spot light support in the grass shader, but this would also remove support for any other point/spot lights. What do you mean by "when the game isn't rendered"? The game is always being rendered.
How do i do that? I am fine with making this. These are the only point lights that i have in my scene. The only other light that i have is a directional.
I don't follow how your screenshots match your description... it looks like when your police lights flash on the grass is darker (top screen) and when they flash off the grass becomes lighter (bottom screen)? What does "not rendered" mean?
Are you using forward or deferred rendering path? What's your pixel light quality count? How many other lights are in the scene? What importance do the police lights have?
I don't know HOW to describe it, so here it goes... I am talking like... when you open a scene or click on play mode, the engine will render the scene or something, right? Baking lights and all.
The first image is of me playing my scene WHEN IT IS NOT RENDERED. The second image is when i am playing WHEN IT IS RENDERED. The only difference is that i accidentally took a print when it wasn't flashing so it appears that it isn't, but i just took it in the exact moment that it was blinking.
The police lights are just for visual effects. They are supposed to make the police vehicles appear more realistic. I have 12 point lights attached to an empty game object named "Police Siren". The pixel light count is 4. I THIN$$anonymous$$ that the problem is that somehow, something in the lights is making the grass' bright too high. You can easily see that by looking at the second picture. The trees' shadows doesn't affect the grass.
Hm... I don't know what happened, but changing the lights' intensity to 0 and then changing the shadow type somehow fixed it. I don't know how the lights are still making the siren effect if they don't have any intensity, but it does. I am not going to touch in this thing anymore xD
I think the question is solved. Do you guys know why they still work? Anyway, thanks for helping me =)
Why, what's the problem? No. I said that i have 12 in total. 2 per car. WOW! 12 for each car? I am going to test it just to see what happens. Seems pretty interesting!
Your answer
Follow this Question
Related Questions
Can see objects through grass 1 Answer
Cascade shadows leave black lines effect on grass 2 Answers
Weird terrain grass and spotlight interaction 1 Answer
Grass doesn't sway in build 0 Answers
Baking terrain with 2k HM resolution 0 Answers