Documentation / @ripl/3d / MATERIAL_SIDE_CODE
Variable: MATERIAL_SIDE_CODE ​
constMATERIAL_SIDE_CODE:object
Defined in: 3d/src/core/uniforms.ts:255
Numeric discriminators for each material side, shared by the packer and the shader.
Type Declaration ​
back ​
readonlyback:2=2
Draw only faces wound away from the camera.
double ​
readonlydouble:0=0
Draw both facings.
front ​
readonlyfront:1=1
Draw only faces wound counter-clockwise towards the camera.