Opacity
Opacity parameters control material transparency, enabling realistic glass, water, and translucent materials.
Parameters
| Parameter | Type | Default | Range |
|---|---|---|---|
opacity | float | 1.0 | [0.0, 1.0] |
opacityTexture | texture2d_ref | null | - |
Parameter Details
opacity
Type: float
Default: 1.0
Range: [0.0, 1.0]
Surface transparency.
0.0= Transparent (invisible)0.5= Semi-transparent1.0= Opaque
opacityTexture
Type: texture2d_ref
Default: null
Format: Grayscale, Linear color space
Per-pixel opacity mask.
- Channel: Red (R)
- Values: 1 = opaque, 0 = transparent
opacity_final = opacityTexture.r * albedoTexture.a * opacity_parameter
Important: Enable Transparency
Transparency requires the MATERIAL_TRANSPARENT constant to be enabled in the material.