Interface: Effects


Effects to be applied on the rendering

Name Type Description
opacity Number

Between 1 (fully opaque) and 0 (fully transparent)

rect RectSpec

The rectangular region on which to render. Useful for side-by-side rendering or to otherwise compose a scene from non-overlapping layers.

colorOffset vec4
colorMatrix mat4
textureCrop Rect

Use only a portion of the texture when rendering. Only supported on WebGlEquirectRenderer. Useful for rendering stereoscopic 360° video.