• Preparing search index...
  • The search index is not available
@xeokit/sdk - v0.1.0
  • @xeokit/sdk
  • model
  • procgen
  • materials
  • paintGlass

Function paintGlass

  • paintGlass(size: number, options?: PaintGlassOptions): MaterialMaps

    Pale blue-green tinted glass. The albedo carries only the body tint; the BRDF's Fresnel response (driven by roughness and metallic = 0.0) supplies the reflective component.

    Pair with SceneMaterial.alphaMode = "BLEND" and an opacity in the range 0.30–0.40 to render as a tinted window.

    Parameters

    • size: number
    • options: PaintGlassOptions = {}

    Returns MaterialMaps

    • Defined in packages/sdk/src/model/procgen/paintMaterials/paintGlass.ts:27

Settings

Member Visibility
@xeokit/sdk - v0.1.0
  • Loading...

Generated using TypeDoc