Search Issue Tracker
Not Reproducible
Votes
1
Found in
5.0.0b18
Issue ID
658446
Regression
No
[DeferredRendering] Other cameras don't take depth buffer from deferred camera
When you have in the scene deferred camera with lowest depth, other cameras clears deferred camera depth buffer (even with Clear Flags = Dont't Clear).
In "TwoCameras" scene contains few objects: "Cubes", "Occluded Sphere", "Foreground Sphere", one of them is occluded by boxes (In scene view),
but as you should notice it is not occluded in game view.
- "Occluded Sphere" and "Foreground Sphere" rendered with forward camera, Clear Flags = Dont't Clear, Depth = 0.
- "Cubes" rendered with Deferred Camera, Clear Flags = Skybox, Depth = 1.
1. Open project.
2. Open scene "TwoCameras".
3. You should notice that "Occluded Sphere" is not occluded by the cubes in game view.
4. Select "Deferred Camera".
1. Disable "Depth Of Field" script.
2. Set Rendering Path = Forward.
5. Now, "Occluded Sphere" object is occluded as it should be in game view.
6. Select "Deferred Camera".
Set Rendering Path = Deferred.
7. Play scene and problem should appear again.
(Only after playing the scene, game view updates, so it may be another bug. It's really hard to find the source of the problem, but
something is definitely not right with deferred cameras.)
Reproduced: 5.0.0b18, 5.0.0b14, 4.6.f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment