Material used for both opaque and tranparent surfaces of a VIM model.

Hierarchy

  • StandardMaterial

Constructors

Properties

_focusColor: Color = ...
_focusIntensity: number = 0.5
_sectionStrokeColor: Color = ...
_sectionStrokeFallof: number = 0.75
_sectionStrokeWitdh: number = 0.01
material: Material
uniforms: ShaderUniforms

Accessors

Methods

  • Patches phong shader to be able to control when lighting should be applied to resulting color. Instanced meshes ignore light when InstanceColor is defined Instanced meshes ignore vertex color when instance attribute useVertexColor is 0 Regular meshes ignore light in favor of vertex color when uv.y = 0

    Parameters

    • material: Material

    Returns void

Generated using TypeDoc