reverseDepthBuffer works instead of reversedDepthBuffer

Docs tell that we should use .reversedDepthBuffer

But it doesnt work actually. While the old reverseDepthBuffer flag works instead. Nobody else noticed this?

Create overlapping geometry like planes or anything else.

  1. Set WebGlRenderer reverseDepthBuffer: true. Rotate camera while looking at overlapping areas.
  2. Set WebGlRenderer reversedDepthBuffer: true. Rotate camera while looking at overlapping areas.

The rename was introduced in r179. What Three.js release do you use?

  • If it is r178 or earlier, keep using the old name.
  • If it is the latest one, you might report it at GitHub repo issues
3 Likes