question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Water.js shader does not support logarithmicDepthBuffer

See original GitHub issue
Description of the problem

Seems like the water shader does not support logarithmicDepthBuffer. Not sure what to do there 😕.

Three.js version
  • r92
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
WestLangleycommented, Jul 11, 2019

@n2k3s2it See if #17014 works for you.

1reaction
ghostcommented, Jul 11, 2019

It does! Wonderful that it was only 4 includes 😄 Thanks for the quick response & solution!

Read more comments on GitHub >

github_iconTop Results From Across the Web

THREE.ShaderMaterial depth information lost - Stack Overflow
The issue was with the usage of the logarithmic depth buffer. The shaders passed to the ShaderMaterial do not work with it out...
Read more >
WebGLRenderer#logarithmicDepthBuffer – three.js docs
If the shader does not compile and link - it will not work and associated material will not render. Default is true ....
Read more >
ShaderMaterial and Logarithmic Depth Buffer - Questions
I'm using a depth renderer (DepthRenderer | Babylon.js Documentation) maybe there is something I can do with it to convert the linear depth ......
Read more >
Stylized Water Shader - Desktop/Mobile/VR [Built-in RP]
Hey! Love the work! Was going to purchase it but noticed that it does not support URP, LWRP or HWRP at this time?...
Read more >
Maximizing Depth Buffer Range and Precision - Outerra
Values from the vertex shader are then converted into the normalized ... I was told it's a hardware limitation, it's not able to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found