@pixi/3d
    Preparing search index...

    Type Alias ShaderOverrideTypeAdvanced

    ShaderOverrideType: "f32" | "i32" | "u32"

    The scalar type of a specialization constant

    WebGPU declares the constant as a WGSL override. WebGL bakes the value into the GLSL as a #define, where a u32 reads as an int, so compare a u32 constant with a bare literal such as == 1, which both languages accept.