Skip to main content

Type Alias: GlassTransmissionProps

GlassTransmissionProps = object

Defined in: modules/engine/src/materials/glass-transmission.ts:10

Optional rasterized volume inputs layered on top of glassMaterial.

Properties​

backfaceTexture?​

optional backfaceTexture?: Texture

Defined in: modules/engine/src/materials/glass-transmission.ts:18

Encoded backface world normals and normalized framebuffer depth.


contactShadowStrength?​

optional contactShadowStrength?: number

Defined in: modules/engine/src/materials/glass-transmission.ts:40

Strength of depth-aware localized darkening where opaque geometry touches the glass.


depthBias?​

optional depthBias?: number

Defined in: modules/engine/src/materials/glass-transmission.ts:42

Normalized-depth tolerance used to preserve foreground geometry.


depthRange?​

optional depthRange?: [number, number]

Defined in: modules/engine/src/materials/glass-transmission.ts:14

Near and far perspective clip planes used to recover linear optical thickness.


dynamicReflectionStrength?​

optional dynamicReflectionStrength?: number

Defined in: modules/engine/src/materials/glass-transmission.ts:44

Strength of nearby opaque-scene reflections sampled from captured scene color.


environmentIntensity?​

optional environmentIntensity?: number

Defined in: modules/engine/src/materials/glass-transmission.ts:22

Multiplier applied to sampled environment reflections.


environmentMipLevels?​

optional environmentMipLevels?: number

Defined in: modules/engine/src/materials/glass-transmission.ts:24

Number of initialized levels in the optional prefiltered environment texture.


environmentPrefilterStrength?​

optional environmentPrefilterStrength?: number

Defined in: modules/engine/src/materials/glass-transmission.ts:26

Strength of roughness-selected environment mip sampling; zero preserves legacy filtering.


environmentTexture?​

optional environmentTexture?: Texture

Defined in: modules/engine/src/materials/glass-transmission.ts:20

Equirectangular studio or HDR environment map.


faultDistortionStrength?​

optional faultDistortionStrength?: number

Defined in: modules/engine/src/materials/glass-transmission.ts:48

Strength of animated lens distortion on warm-tinted fault surfaces.


roughTransmissionStrength?​

optional roughTransmissionStrength?: number

Defined in: modules/engine/src/materials/glass-transmission.ts:30

Strength of thickness-aware multisample transmission blur.


sceneDepthTexture?​

optional sceneDepthTexture?: Texture

Defined in: modules/engine/src/materials/glass-transmission.ts:16

Sampleable depth attachment from the opaque scene pass.


secondaryBounceStrength?​

optional secondaryBounceStrength?: number

Defined in: modules/engine/src/materials/glass-transmission.ts:46

Strength of an additional environment bounce inside the glass shell.


spectralAbsorptionStrength?​

optional spectralAbsorptionStrength?: number

Defined in: modules/engine/src/materials/glass-transmission.ts:32

Strength of wavelength-dependent absorption through the measured glass volume.


thicknessStrength?​

optional thicknessStrength?: number

Defined in: modules/engine/src/materials/glass-transmission.ts:28

Multiplier applied to the measured front-to-back optical path.


thinFilmStrength?​

optional thinFilmStrength?: number

Defined in: modules/engine/src/materials/glass-transmission.ts:36

Strength of angular spectral interference from the thin-film coating.


thinFilmThickness?​

optional thinFilmThickness?: number

Defined in: modules/engine/src/materials/glass-transmission.ts:34

Thickness in nanometers of an optional thin-film surface coating.


time?​

optional time?: number

Defined in: modules/engine/src/materials/glass-transmission.ts:50

Animation clock used by optional fault-driven surface distortion.


viewportSize?​

optional viewportSize?: [number, number]

Defined in: modules/engine/src/materials/glass-transmission.ts:12

Dimensions shared by opaque scene color, opaque depth, and glass backfaces.


volumeScatteringStrength?​

optional volumeScatteringStrength?: number

Defined in: modules/engine/src/materials/glass-transmission.ts:38

Strength of colored in-volume scattering around nearby optical point lights.