API

Interface ScreenSpaceReflectionCompositeTaskConfig

interface ScreenSpaceReflectionCompositeTaskConfig {
    colorTexture?: RenderTarget;
    name?: string;
    reflections: ScreenSpaceReflectionTask;
    specularTexture: RenderTarget;
    strength?: number;
}
Index
colorTexture?: RenderTarget

Linear real color of that geometry pass (its targetTexture). Defaults to the reflections' sourceTexture.

name?: string

Reflections to composite. Their normal and reflectivity inputs must describe the surfaces of colorTexture.

specularTexture: RenderTarget

Environment-specular output (createEnvironmentSpecularTextureDescription) of the geometry pass that wrote colorTexture.

strength?: number

Share of the environment specular the reflections replace: 0 keeps the materials' IBL, 1 (default) replaces it wherever they are confident. Finite, nonnegative.