Skip to content

Conversation

vis-prime
Copy link
Contributor

@vis-prime vis-prime commented Jun 9, 2025

Why

The FBOs in Caustics currently use FloatType by default, which causes issues on devices that do not support the OES_texture_float_linear extension. While this does not crash the renderer, caustics are not rendered and warnings appear in the console.

What

This PR updates the code to check if the extension is supported using the renderer.extensions.get('xxxx') method. If not supported, it falls back to HalfFloatType and caustics are visible again.

Checklist

  • Documentation updated (example)
  • Storybook entry added (example)
  • Ready to be merged

Copy link

vercel bot commented Jun 9, 2025

@vis-prime is attempting to deploy a commit to the Poimandres Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

codesandbox-ci bot commented Jun 9, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@vis-prime vis-prime marked this pull request as ready for review June 9, 2025 10:21
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.

1 participant