Interface: Effects

Effects

Effects to be applied on the rendering

Properties:
Name Type Description
opacity Number

Transparency

rect Object

Offset and size

Properties
Name Type Description
relativeWidth Number
relativeHeight Number
relativeX Number
relativeY Number
absoluteWidth Number
absoluteHeight Number
absoluteX Number
absoluteY Number
colorOffset vec4
colorMatrix mat4
textureCrop Object

Use a subsection of the texture when rendering. Only supported on WebGlEquirectRenderer. Useful for rendering stereoscopic 360ยบ video.

Properties
Name Type Attributes Default Description
width Number <optional>
1
height Number <optional>
1
x Number <optional>
0
y Number <optional>
0