RSL Exercises
basic functions
-specular is traditionally not multiplied by the surface color, but have its own tint. -Ci *= Oi;
Exercise Ib
-Oi is a color! -You only need one channel (greyscale) in your specular map.
Exercise IIa
-dot product of two normalized vectors give the cos of angle.
Exercise IIb
Exercise IIIa
-try to avoid negative values to get into your image. Remapping from [-1-1] to [0-1] can be done with a scale and an offset.
Exercise IIIb
-read note on the shading grid
Exercise IV
-use smoothstep() to reduce aliasing
Content on this page requires a newer version of Adobe Flash Player.
- home - curriculum - competences - gallery -MEL scripts - shaders - contact - links -