-
-
Notifications
You must be signed in to change notification settings - Fork 36k
Closed
Labels
TSLThree.js Shading LanguageThree.js Shading Language
Milestone
Description
Description
Discard( color.equal(vec4(0)) )
error :
if statement condition must be bool, got vec4<bool>
if ( ( nodeVar1 == vec4<f32>( 0.0, 0.0, 0.0, 0.0 ) ) ) {
I'm not sure it's intend or not ? I also tried to add a bool(..)
around the equal but without success
Reproduction steps
- execute similar tsl
Code
see above
Live example
X
Screenshots
X
Version
r175dev
Device
No response
Browser
No response
OS
No response
Metadata
Metadata
Assignees
Labels
TSLThree.js Shading LanguageThree.js Shading Language