Thickness

 
 
 

DEPRECATED. This shader is unsupported, but it may still get installed with Softimage to provide compatibility with older scenes that use it. It is recommended that you replace unsupported shaders in your scenes with equivalent shaders from the current Softimage shader library.

| Image Filtered Lookup

Category: Raytracing

Shader Type: Texture

Output: Scalar value

Determines an object's thickness at the intersection point. This shader returns the depth information of the object volume as grayscale map.

In essence, the shader is mangling the state structure to ensure the raytracing depth is 1 and casts a refraction ray. It then extracts the state/distance and output it as grayscale. The output is multiplied to allow scaling of the result.

Use the Color_math_unary math shader to better control the output result of this shader.

Name

The shader's name. Enter any name you like, or leave the default.

Scale

Defines the thickness effect the shader will create.

Index of Refraction

Controls the index of refraction, which determines the direction of the incoming ray. The index of refraction is typically set to 1.0 for air, 1.33 for water, and 1.5 for glass.

Render Tree Usage

Use this shader to either alter a specific color parameter (diffuse, transparency, specular).