Search Issue Tracker

By Design

Votes

1

Found in

5.3.4p5

Issue ID

794589

Regression

No

Terrain shadow moves with camera while Color Space is set to Linear

Terrain

-

Steps to reproduce:
1. Open the attached project
2. Open the available scene
3. Go to 'Edit/Project settings/Player'
4. Under 'Other settings/Rendering' switch 'Color Space'
5. Observe the drastic changes on terrain lighting in the scene view

Note: Moving the camera moves the shadows on the terrain

Comments (2)

  1. duencil

    May 07, 2016 06:32

    I think I just found the issue. The textures used for normal maps on the terrain did not have texture type: "Normal Map" in their Import Settings. They were just imported as regular Textures. Not sure the implications of that, perhaps importing them as normal maps ensures they have unit magnitude normals? And the standard shader depends on that maybe? Whatever the reason, the lighting issues in linear deferred seem to have disappeared after fixing that.

  2. duencil

    May 06, 2016 19:32

    Note these are not actually shadows, since they have been disabled, it is an issue with the realtime diffuse lighting not contributing to certain view dependent regions on the terrain

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.