Renderman Shading Language
Monday, 9 September 2013
smoothstep
Demonstration of
smoothstep
( ) :
surface zinTest()
{
float sStep =
smoothstep
(0.3,0.85,u);
Oi = Os;
Ci = mix(color(1,0,0),color(0,1,0),sStep);
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment