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

6.36.6 is not compatible with three 0.172.0 #675

Closed
mlenser opened this issue Jan 2, 2025 · 2 comments
Closed

6.36.6 is not compatible with three 0.172.0 #675

mlenser opened this issue Jan 2, 2025 · 2 comments
Labels
compatibility A problem that affects compatibility with external libraries external bug A bug that can't be fixed in this project

Comments

@mlenser
Copy link

mlenser commented Jan 2, 2025

Description of the bug

WebGLMultipleRenderTargets has been removed from three in version 0.172.0 so it should not be used in postprocessing that supports 0.172.0.

To reproduce

I am using a nextjs app and when built with

"postprocessing": "^6.36.6",
"three": "^0.172.0"

The following happens:

Failed to compile.
../../node_modules/.pnpm/@react-three+postprocessing@2.16.5_@react-three+fiber@8.17.10_react-dom@18.3.1_react@18.3.1___pbw5axbo2l2mmpuqavjlxgu7wq/node_modules/@react-three/postprocessing/dist/effects/N8AO/N8AOPostPass.js
Attempted import error: 'WebGLMultipleRenderTargets' is not exported from 'three' (imported as 'THREE').

Expected behavior

WebGLMultipleRenderTargets is not used in postprocessing.

Library versions used

  • Three: 0.172.0
  • Post Processing: 6.36.6
@vanruesc
Copy link
Member

vanruesc commented Jan 2, 2025

This is a compatibility problem in https://github.com/N8python/n8ao and it should be reported in that repository instead.

Closing this since postprocessing doesn't actually use WebGLMultipleRenderTargets.

@vanruesc vanruesc closed this as completed Jan 2, 2025
@vanruesc vanruesc added external bug A bug that can't be fixed in this project compatibility A problem that affects compatibility with external libraries labels Jan 2, 2025
@mlenser
Copy link
Author

mlenser commented Jan 2, 2025

Opened an issue on that repo. N8python/n8ao#39

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility A problem that affects compatibility with external libraries external bug A bug that can't be fixed in this project
Projects
None yet
Development

No branches or pull requests

2 participants