Real-Time Incidence shader

Abstract: a Real-Time version of the incidence shader.

Description: This is a DirectX9 HLSL-based real-time shader that simulate the incidence shader when driving objects' transparency.

Working Scenarios: This shader is used in the accompanying scene to control the transparency of the deformed NURBS mesh to achieve something like that of XSI's red smoke.
You can use it to drive any other shading parameter such as color channels / render buffers… etc by editing the HLSL code. Remember to set your viewport background color to black.

User Usage: You can modify the color of the object from the HLSL color node and control the incidence effect from the Incidence controls in the HLSLProgram node.

Developer Usage: Edit the HLSL code to customize the effect.

Nature: Shader

Applies To: XSI 4 on NT,Win2K,XP

Languages: DirectX9 HLSL