John Bradshaw wrote:
>
> I want to modify amount of lighting based on the angle between the camera
> incidence ray and the normal vector of points in the mesh. My goal is to
> create a scanning electron microscope look: bright edges (where the angle
> between viewing ray and normal vector is larger) and a duller center (where
> the angle is smaller).
http://www.pp.htv.fi/kkivisal/em.jpg
pigment {
slope {cam_lookat-cam_location,0,0.5}
color_map{
[0 rgb 0]
[0.5 rgb 0.3]
[1 rgb 1]
}
}
_____________
Kari Kivisalo
Post a reply to this message
|