ConstructorOptions
Properties
When true, the geometry is expected to be closed so MaterialAppearance.renderState has backface culling enabled. Default value - false
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
Optional GLSL fragment shader source to override the default fragment shader.
The material used to determine the fragment color. Default value - Material.ColorType
The type of materials that will be supported. Default value - MaterialAppearance.MaterialSupport.TEXTURED
Optional render state to override the default render state.
When true, the geometry is expected to appear translucent so MaterialAppearance.renderState has alpha blending enabled. Default value - true
Optional GLSL vertex shader source to override the default vertex shader.