Search Issue Tracker

By Design

Votes

1

Found in

5.5.0b9

Issue ID

846244

Regression

Yes

Camera fails to generate a depth texture

Graphics - General

-

Steps to reproduce:
1. Open the attached project (ShaderPassesWithCameraDepth.zip)
2. Open the Fog of War/Examples/1. Image Effect/Example 1.unity scene
3. Run Unity
4. Observe that everything is dark and changes brightness when rotating the camera

Expected result: The fog should be generated around game object
Actual result: Everything is dark and changes brightness when rotating the camera

Note: Assets>Fog of War>FOW>FOWImageEffect.cs at line 42 (mCam.depthTextureMode = DepthTextureMode.Depth;) does generate a depth texture

Reproduced with: 5.5.0a1, 5.5.0b9, 5.5.0b11
Not reproduced with: 5.3.6p4, 5.4.2p3
Regression introduced in 5.5.0a1

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.