PDA

View Full Version : How to make shading effect with OpenGL?



bala
10-29-2002, 03:29 AM
i just want to do something follows:
there is a light source,an object,and i
need draw a projection of the object on
a plane.
what should i do?

Zeno
10-29-2002, 06:50 AM
You should look at this source code (http://www.opengl.org/developers/code/features/StencilTalk/nvshadow.txt) .

-- Zeno

datsua
10-29-2002, 02:46 PM
There is also a few examples here
http://www.cs.unc.edu/~hoff/projects/summer98_disney_lighting_effects/docs/