Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for fog, toneMapping, colorSpace conversion and logarithmicDepthBuffer to (m)sdf shaders #5409

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

mrxz
Copy link
Contributor

@mrxz mrxz commented Dec 11, 2023

Description:
Changes both sdf and msdf shaders to make use of relevant Three.js ShaderChunks. This makes it behave more like other Three.js materials, resolving several outstanding issues:

Changes proposed:

  • Change shaders to non-raw shaders including relevant chunks for: fog, logdepthbuf, tonemapping and colorspace
  • Remove WebGL1 code paths from the sdf shader

@dmarcos
Copy link
Member

dmarcos commented Dec 11, 2023

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants