ConstructorOptions
Properties
Link copied to clipboard
When true
, the geometry is expected to be closed so PerInstanceColorAppearance.renderState has backface culling enabled. Default value - false
Link copied to clipboard
When true
, the fragment shader flips the surface normal as needed to ensure that the normal faces the viewer to avoid dark spots. This is useful when both sides of a geometry should be shaded like WallGeometry. Default value - !options.closed
Link copied to clipboard
Optional GLSL fragment shader source to override the default fragment shader.
Link copied to clipboard
Optional render state to override the default render state.
Link copied to clipboard
When true
, the geometry is expected to appear translucent so PerInstanceColorAppearance.renderState has alpha blending enabled. Default value - true
Link copied to clipboard
Optional GLSL vertex shader source to override the default vertex shader.