
These images show the results of using the RenderMan Shading Language (RSL) to write a variety of special effects surface shaders. The notes and RSL code accompanying each image explain how each effect was achieved.
Cross |
|
![]() |
This Cross shader was written in cutter using the following code: if(s >= 0.35 && s <= .65)
surfcolor = color(0.2,0.8,1.0);
else
surfcolor = color(0.6,0.6,0.6);
if(t >= 0.35 && t <= .65)
surfcolor = color(0.2,0.8,1.0);
The Cross was made with two blue stripes and filling everything else with gray. |
Circle |
|
![]() |
This Circle shader was written in cutter using the following code: if ((s-.5)*(s-.5) + (t-.5)*(t-.5) <.17)
surfcolor = color(1.0,0.6,0.0);
else
surfcolor = color(0.0,0.0,1.0);
|
Crescent |
|
![]() |
This resent shader was written in cutter using the circle code above twice. With the green circle being offset. if ((s-.5)*(s-.5) + (t-.5)*(t-.5) <.17)
surfcolor = color(0.4,0.2,1.0);
else
surfcolor = color(0.6,1.0,0.0);
if ((s-.4)*(s-.4) + (t-.4)*(t-.4) <.17)
surfcolor = color(0.6,1.0,0.0);
|
Diagonal |
|
This diagonal line shader was written in cutter using the following code: if(s >= 1-t)
surfcolor = color(0.4,0.4,0.0);
else
surfcolor = color(.5,.4,.1);
|
|
Bomb |
|
![]() |
This is a bomb shader. It was written in cutter using the above mentioned methods. |