Interface ScreenSpaceReflectionCompositeTaskConfig
interface ScreenSpaceReflectionCompositeTaskConfig {
colorTexture?: RenderTarget;
name?: string;
reflections: ScreenSpaceReflectionTask;
specularTexture: RenderTarget;
strength?: number;
}
colorTexture?: RenderTarget;
name?: string;
reflections: ScreenSpaceReflectionTask;
specularTexture: RenderTarget;
strength?: number;
}
Properties
Optionalcolor Texture
Linear real color of that geometry pass (its targetTexture). Defaults to the reflections' sourceTexture.
Optionalname
name?: string
reflections
Reflections to composite. Their normal and reflectivity inputs must describe the surfaces of colorTexture.
specular Texture
Environment-specular output (createEnvironmentSpecularTextureDescription) of the geometry pass that wrote colorTexture.
Optionalstrength
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.
Configuration of createScreenSpaceReflectionCompositeTask.