# Occlusion#

(TextureOcclusion)

• Category: /Texture/Raytrace
• Default object name: occlusion

Go to Technical page.

## Attributes#

Name Type Description
Pass Through bool If checked, the current texture is not evaluated and the value of the attribute selected in Pass Through Attribute is directly forwarded.
Master Input string Name of the attribute that will be used as output if Pass Through is enabled.
Invert bool If checked, the texture is inverted.
Opacity double Set the opacity of the texture.
Color double[3] Set the color.
Occlusion Mode long Set the type of occlusion.
Normal Mode long Set the normal to use to compute the occlusion.
Occlusion Color double[3] Set the color of the occlusion.
Occlusion Gain double Set the gain of the occlusion.
Occluders reference (Group) Define which geometries are occluders. By default it uses the 3D layer geometries.
Radius double Set the radius of the occlusion.
Angle double Set the opening angle of the hemisphere used at each fragment.
Evaluate Transparency bool Enable the computation of the shading for occluding objects. If occluding objects are transparent, this affects the color of the occlusion.
Sample Count long Set the sample count used for the sampling. A high value gives a better result but increases the computation time.
Bias Mode long Specify if the value of the bias is absolute or if it is relative to the slope on the geometry.
Space Mode long Set the space to use when applying a bias.
Bias double[3] Apply a bias on the normal.
Slope Threshold double Set the minimum angle that a surface must have in order to be considered as a slope. This value corresponds to the angle between the bias direction and the normal of the surface.
Merge Objects bool When activated, rays ignore the surface of two objects that are in contact.
Merge Threshold double Maximum distance under which the objects are merged.
Normal Falloff curve Controls the intensity of the occlusion according to the dot product between the normal of the shaded fragment and the normal on the occluder.
Distance Falloff curve Controls the intensity of the occlusion according to the distance.