Shadows

Started by
7 comments, last by The Kid 23 years, 8 months ago
I was programming one night, and a great minidemo popped into my mind. But to make it, I would need good shadows. Silly me, when I added lighting, I thought shadows would follow. Oops. Could someone help me out, and post some code for shadows. I know its not easy, and I''ve looked around the net a little, but to no avail. Thanks, The Kid
I don''t know what the future holds, but I know who holds the future.
Advertisement
http://www.nvidia.com/Marketing/Developer/DevRel.nsf/WhitepapersFrame
Shadows can be as simple or as complex as you like. The end result depends on how you implement them and how you really wish to see them.

A simple method can be found in the OpenGL Superbible which creates a shadow matrix, but this requires that the shadow be cast onto a flat surface.
(http://www.itknowledge.com/reference/archive/1571690735/ewtoc.html)

Some more advanced shadow casting effects can be found here:
http://www.r3.nu/~cass/shadowsandstuff/

Or try and to a search on ''shadow'' at http://www.opengl.org

Maybe I''ll stick a tutorial together for NeHe to post - anybody interested?

--Andy
http://opengl.koolhost.com
YESSS PLEASE !! :D *beg beg beg*

-DA
"You think that''s air your breathing now?"
That would be great if you could put together a tutorial on shadows, I know I would read it.
I don''t know what the future holds, but I know who holds the future.
That would be great if you could put together a tutorial on shadows, I know I would read it.

The Kid

I don''t know what the future holds, but I know who holds the future.
I don''t know what the future holds, but I know who holds the future.
That would help out lots of people!

This goes to all guru programmers:

Please do tutorials for NeHe! They are well laid out and easy to understand. Help us newbies and one day we could help you!

Thanks

Ok, I''ll start putting one together.

Are there any specifics about shadows that people would like to see? Remember though that some methods are far out of the reach of beginners.

--Andy
Could you do something on volumetric shadows ?
I don''t know what the future holds, but I know who holds the future.

This topic is closed to new replies.

Advertisement