Skip to content

Documentation / @sw-file-lib/three / AdditiveUniforms

Interface: AdditiveUniforms ​

ts
interface AdditiveUniforms {
  overrideColor: Color;
  overrideColorEnabled: boolean;
}

Defined in: material/additive.ts:12

Uniforms used by the additive material.

Properties ​

PropertyTypeDescription

overrideColor

Color

The color to use when overrideColorEnabled is true.

overrideColorEnabled

boolean

Whether to override the vertex colors with a single color.

When enabled, the overrideColor uniform is used instead of the vertex colors.