- Home /
Grass texture unaffected by spotlight
Hello!
We are creating a horror inspired game for a project in school so i'm new to unity. I encountered a problem with lightning today. As you can see in the picture we have a "flashlight" which is created by two spot lights, one stronger light in the middle with another light in the edges. As i made a custom grass texture (.png) and aimed my spot light at it (as you can see) it didn't work out really as i would hope. Barely half of the grass texture is affected by the light and the upper half stays dark. Can this be corrected somehow?
Answer by sparkzbarca · Mar 21, 2013 at 10:49 AM
this just looks like a shader issue thats all. Flip around shaders till you get one thats good.
Is your ambient light none? (black)
maybe bump it up a bit.
maybe its the angle it's hitting the texture (or the angle of the billboard)
maybe its a diffuse lighting issue. Not sure. Perhaps needs wrap around diffuse lighting
Answer by Arklights · Mar 22, 2013 at 07:17 PM
Can i change shader on a grass texture? I tried changing ambien light though the problem persist. I think it has something to do with the height of the grass cause the lightning works correctly until i change my own or unity's grass to have a max height over (about) 5 or 6.
Your answer
Follow this Question
Related Questions
Lighting Problem 2 Answers
Shadows problem on mobile 0 Answers
How to light a plane from behind 0 Answers
Unity 2019.2 lwrp brightness problem 0 Answers
Lighting problem and glitch. 4 Answers