briochie/wow.unity

BUG: Terrain shader has inverted/wrong shadows/shading

Closed this issue · 2 comments

Here's a screenshot where I've replaced all the tiles around this tile with actual Unity terrain, which has correct shading, and you can see from the tree in the lower right corner where the directional light is coming from:
Screenshot 2023-06-06 135540

I actually didn't notice this before I replaced my tiles with Unity terrain, and thought it was the terrain that was wrong, but it seems like the shader in this package is putting the side facing the directional light in shadow or something?

Weird. The shading uses the out-of-the-box lighting for URP. Unless something extra strange is going on with the coordinate system changes, I don't see why that would be the case.

If I were to guess, the terrain is using a more custom lighting implementation than the standard URP lighting. Going to close this issue, since this will be something that comes up with the terrain changes regardless.

Fixing the close type