Search Issue Tracker

By Design

Votes

0

Found in

5.5.0b8

Issue ID

844557

Regression

Yes

Custom shader doesn't render shadows in Unity 5.5

Shaders

-

How to reproduce:

1. Open attached project "844557 Lights and Shadows.zip"
2. Open "4_spots" scene
3. Look at the Scene View

Expected behavior: Game objects "valves" cast shadows
Actual behavior: Shadows are not rendered

Reproducible: 5.5.0b1, 5.5.0b8, 5.5.0b9
Not reproducible: 5.4.0p4, 5.4.1f1, 5.4.2f2

Note: Tested using DX11 because on DX9 and on OpenGLCore vr_cast_shadows are not supported

Comments (1)

  1. Khash-Firestorm

    Oct 26, 2016 09:52

    could be this issue related to the fact that surface shaders stopped reciving non-zero IN.screenPos.w ? It seems it might be required for the calculation.

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.