three.js: Shadow problem with logarithmic depth buffer

use the logarithmicDepthBuffer cause shadow problem, use threejs r108dev this is the example link https://raw.githack.com/1147079942/three.js/dev/examples/webgl_shadowmap_viewer.html

Three.js version
  • Dev
  • r108
  • r107
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS
Hardware Requirements (graphics card, VR Device, …)

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 29 (1 by maintainers)

Most upvoted comments

I am not able to reproduce the artifacts, either.

@1147079942 I suggest you avoid using logarithmic depth buffer.

will you fix this compatibility of this problem?

If it’s a hardware or driver issue, there is in general not much we can do. The problem is that I and the others can’t reproduce the issue. That makes any kind of investigation more complicated.

may i get some article or explain about this problem, thanks.

TBH, I have no idea what’s going wrong. Does it work if you update the macOS version to the latest on (10.14.6)? Update the OS also updates system drivers.

I test so many personal computer, many windows system has the same problem, I don’t think update the system or hardware can solve this very well.I afraid I need learn more about the shader now, wish me luck.

this is the example link https://raw.githack.com/1147079942/three.js/dev/examples/webgl_shadowmap_viewer.html

That branch is 722 commits behind mrdoob:dev.

This issue was likely fixed in #17442.