RSL
|
IntroductionThis tutorial provides a couple of examples of shaders that apply a simple color ramp to a surface. |
Simple Color Ramp
Using the
|
Listing 1
|
Color StepUsing the smoothstep() function the color of a surface can be made to change more or less abruptly at a specific location.
|
Listing 2
|
© 2002- Malcolm Kesson. All rights reserved.