Redirect Shader: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
[[Image:drex_module_158_image_0.png| | [[Image:drex_module_158_image_0.png|center|Redirect]] | ||
'''Node Description and Purpose:'''<br /> | |||
The Redirect Shader "tricks" the shaders which are attached to it into thinking that the surface normal points along the positive X axis, positive Y axis or positive Z axis. Basically it modifies the shading state variable for the surface normal before calling the shaders, so that they think they are displacing a surface with a different normal. Any shader that displaces along the normal will then displace along these directions. Displacement in the negative X,Y,Z directions is accomplished if the displacement shader displaces negatively (e.g. if it indents a surface rather than raising it). | |||
'''Node Type:''' Displacement Shader<br /> | |||
'''Settings:'''<br /> | |||
[[Category:Displacement Shader]] | [[Category:Displacement Shader]] | ||
Revision as of 11:40, 21 April 2012

Node Description and Purpose:
The Redirect Shader "tricks" the shaders which are attached to it into thinking that the surface normal points along the positive X axis, positive Y axis or positive Z axis. Basically it modifies the shading state variable for the surface normal before calling the shaders, so that they think they are displacing a surface with a different normal. Any shader that displaces along the normal will then displace along these directions. Displacement in the negative X,Y,Z directions is accomplished if the displacement shader displaces negatively (e.g. if it indents a surface rather than raising it).
Node Type: Displacement Shader
Settings: