Open hybridherbst opened 1 month ago
Adding a texture and using it as "normal" slot input results in exceptions. I'm not sure if I'm expected to swizzle it down to three components – but I think at least there shouldn't be renderloop-breaking exceptions when not doing that.
EDIT: Looks like as a workaround, a UV node can be added – in other node-based shader editors UV0 is implicit, so I didn't expect that.
-
https://threejs.org/playground/
latest
Desktop
Chrome
Windows, MacOS
Fyi, #29652 does not close this issue, I just happened to run into this one here while looking at normal maps. I think it should be reopened!
Description
Adding a texture and using it as "normal" slot input results in exceptions. I'm not sure if I'm expected to swizzle it down to three components – but I think at least there shouldn't be renderloop-breaking exceptions when not doing that.
Reproduction steps
EDIT: Looks like as a workaround, a UV node can be added – in other node-based shader editors UV0 is implicit, so I didn't expect that.
Code
-
Live example
https://threejs.org/playground/
Screenshots
Version
latest
Device
Desktop
Browser
Chrome
OS
Windows, MacOS