Material →

GaussianSplatMaterial

A material for a use with a GaussianSplat.

Constructor

GaussianSplatMaterial(parameters : Object)

parameters — (optional) an object with one or more properties defining the material's appearance. Any property of the material (including any property inherited from Material) can be passed in here, but some of them will be ignored when rendering gaussians.

GaussianSplat materials are not clipped by using Material.clippingPlanes.

Properties

See the base Material class for inherited properties.

.defines : Object

An object of the form:

{ KERNEL_2D_SIZE: 0.3, MAX_SCREEN_SPACE_SPLAT_SIZE: 1024, CLIP_XY: 1.4 }

These parameters are used by the WebGLRenderer to render gaussians. Do not change unless you know what you are doing.

.fog : Boolean

Whether the material is affected by fog. Default is true.

.isGaussianSplatMaterial : Boolean

Read-only flag to check if a given object is of type GaussianSplatMaterial.

Methods

See the base Material class for inherited methods.

Source

For more info on how to obtain the source code of this module see this page.