-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
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
DirectionalLight castShadow cannot be enabled while CSM is enabled #30795
Comments
Do you mind demonstrating the issue with a live example? Please use one of the fiddles from the issue template. I suspect the problem is that |
|
Yeah, unfortunately this is a current limitation of This is a more fundamental issue that is related to how custom shader code is injected into the default materials. If you can, I suggest you switch to |
On the other hand, I also need to support older browser versions. And since the WebGL and WebGPU apis of threejs are not the same, it is difficult to migrate larger projects, is there any way to quickly switch from WebGLRenderer to WebGPURenderer for larger projects? |
If you can just exchange the renderers depends on your app. Since |
Description
Reproduction steps
Code
// code goes here
Live example
Screenshots
No response
Version
r174
Device
No response
Browser
No response
OS
No response
The text was updated successfully, but these errors were encountered: