Describes the shading properties of the voxel layer. Voxel layers use a simple shading model which provides specular highlights and diffuse shading proportional to the opacity of the voxel being accumulated during raycasting. Opaque voxels are shaded like a surface while semi-transparent voxels mostly contribute their color.
Referenced by: Voxel Style
Properties
Property | Details |
---|---|
diffuseFactor | Diffuse light coefficient. |
specularFactor | Specular highlight coefficient. |
Example
{
"diffuseFactor": 0.25,
"specularFactor": 0.5
}