r/UnityHelp • • 11h ago

LIGHTING Why is the light source acting strange [help]

If the video didn't help : the light source supposedly a flashlight is lighting up the terrain only when i look front and when I turn back, it acts weird like its not lit enough as it is on the front [check clip]

Also if you say its a Point light but set to SPOT light, I tried using an POINT light too but still same results, also adding an SPOT light through hierarchy to the camera, its still the same problem.
The most possible problem would be regarding the terrain or lighting parameters.

Guys please help me, no AI, nothing could help me fix it, I sent almost a day but its frustrating at this point, I know it will be as easy as clicking an option but I cant figure out stuff. For the expert please help or I cant progress..

EDIT : the problem is solved, turns out I added a different texture in place of normal map for the terrain

1 Upvotes

4 comments sorted by

1

u/lucafro 10h ago

Looks to me like an issue with the terrain or the material of it, possibly the normal map. Maybe you can try your setup on a default plane instead of terrain and see if the issue persists?

1

u/Equivalent-Brief-642 5h ago

You're right, Thank you gng, all the best

1

u/MiRyNoV 9h ago

Could it be that you imported a normal map texture and forgot to set its Texture Type to Normal Map in the inspector?

Did you make a custom shader for the terrain or did you use a stock one?

3

u/Equivalent-Brief-642 5h ago

Yes, you did it, I love you. I added a different texture to the normal map, and thats what caused it. See I told you I was one click away. Thank you