-
-
Notifications
You must be signed in to change notification settings - Fork 36.1k
Closed
Labels
Milestone
Description
Description
reverseDepthBuffer: true should set WebGL to use reversed depth which gives better precision near camera
This worked as of r169 but is broken in r170
reverseDepthBuffer was added in r169 by @CodyJasonBennett
#29445
#29461
And iterated on in r170
#29579
Reproduction steps
new WebGLRenderer({ reversedDepthBuffer: true })- Add anything to the scene
- Notice nothing renders unless reversedDepthBuffer set to false
Code
new WebGLRenderer({ reversedDepthBuffer: true })Live example
Showing all versions from 169 to 174, notice only 169 shows anything
https://jsfiddle.net/pgkz5vto/
Screenshots
Version
r174
Device
Desktop
Browser
Chrome
OS
MacOS