Skip to content

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

Interface: GlassUniforms ​

ts
interface GlassUniforms {
  skyColorDown: Color;
  skyColorUp: Color;
}

Defined in: material/glass.ts:44

Uniforms used by the glass material.

Properties ​

PropertyTypeDescription

skyColorDown

Color

The color of the reflection of the sky when looking down.

skyColorUp

Color

The color of the reflection of the sky when looking up.