-
-
Notifications
You must be signed in to change notification settings - Fork 35.7k
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
Custom Shader Chunk includes broken since THREEjs v. 138 #23580
Comments
That is strange, I don't think we have changed anything around that between r137 and r138 🤔 |
From what release have you performed the upgrade? In any event, please share an editable live example that demonstrates the issue. |
I was upgrading from v 137.5 to 138. I can't share this example precisely cause it's a WIP client project but will look at creating an isolated example and see. I use 11ty, esbuild and TypeScript as my "boilerplate". Will create a sample and share. Thanks! |
OK, I have isolated this scenario into a "clean" test and I no longer get the error happening. There must be another reason why this is happening to me in my other project when upgrading from 137.5 to 138. Will investigate. Sorry for the confusion and thanks for your time! Cheers |
Hello there!
I have upgraded one project to latest THREEjs 138, and suddenly all my custom shader chunk includes no longer work.
This is what I would usually do:
Then have
#include <noise4D>
in my shader for example.This causes a JS error in includeReplacer since v. 138. See screenshot below:
THANKS!
The text was updated successfully, but these errors were encountered: