Closed
Description
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