Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Shadows different approach?

  1. #1
    Advanced Member Frequent Contributor
    Join Date
    Nov 2002
    Location
    Latvia
    Posts
    628

    Shadows different approach?

    I've ran through NeHes tutorial about shadow casting & understood that It's quite a long way. I've heard the idea that shadows can be projected to flat surfaces. I have an object & I know the light position, so I can create matrix that collapses this object on the poligon through object-light line. All I would have to do is set obj color to black & in some cases add a little transparency. That should be a lot faster & would be Ok for flat objects, but I don't know where could I look for examples, tutors.

  2. #2
    Junior Member Newbie
    Join Date
    Feb 2001
    Location
    Belgium
    Posts
    26

    Re: Shadows different approach?


  3. #3
    Junior Member Regular Contributor
    Join Date
    Sep 2001
    Location
    Eastern USA
    Posts
    220

    Re: Shadows different approach?

    Shadow rendering and projection onto planes using glScale is usually frowned upon, is it not?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •