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.
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.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License