You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes we inherit from Three.js's light classes to create a subclass with additional custom functions. This works fine in WebGL, but causes issues in the WebGPU renderer.
WebGPU relies on the class's constructor to locate the lightNode, and when we create a new subclass via inheritance, this process breaks.
Is this considered a bug?
Reproduction steps
empty
Code
empty
Live example
empty
Screenshots
No response
Version
175
Device
No response
Browser
No response
OS
No response
The text was updated successfully, but these errors were encountered:
Description
Sometimes we inherit from Three.js's light classes to create a subclass with additional custom functions. This works fine in WebGL, but causes issues in the WebGPU renderer.
WebGPU relies on the class's constructor to locate the lightNode, and when we create a new subclass via inheritance, this process breaks.
Is this considered a bug?
Reproduction steps
empty
Code
empty
Live example
empty
Screenshots
No response
Version
175
Device
No response
Browser
No response
OS
No response
The text was updated successfully, but these errors were encountered: