Search Issue Tracker

By Design

Votes

0

Found in

2018.1.0f2

Issue ID

1035584

Regression

No

WorldPos is not passed to SurfaceShader when Camera rendering path is set to Deferred

Shaders

-

How to reproduce:
1. Open given Unity project
2. Enter "SampleScene" scene
3. Make sure that your rendering path in the Main Camera is "Deferred"
- Notice that the Cube is black
4. Change Rendering path to ''Forward''
- Notice that the top of the Cube is red

Expected result: Cube should have the red top in both scenarios
Actual result: When rendering path is set to deferred, the cube is all black

Reproducible with: 2018.2.0b3, 2018.1.0f2, 2017.4.3f1, 2017.3.2f1, 2017.2.2p2, 2017.1.3p4

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.