Voxel Shading

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


Property Details
diffuseFactor Diffuse light coefficient.
specularFactor Specular highlight coefficient.


  "diffuseFactor": 0.25,
  "specularFactor": 0.5

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.