Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Graph program OpenGL program

Gl_ShadowsVolumes.ZIP

  • Category : OpenGL program
  • Tags :
  • Update : 2008-10-13
  • Size : 149.55kb
  • Downloaded :0次
  • Author :金***
  • About : 金哥
  • PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
The purpose of this demo is to create shadows using a technique called stencil shadow volumes in a 3d scene. To do this we will not need the shadow matrix from previous demo. In fact in order to perform this all we need is to render the silhouette edges of an object (which are the outer edges of a object) extended in a direction (which depends on the light position) into the stencil buffer twice. After that we draw the scene twice, once for the dark parts of the scene (areas that are shadowed) and once for the lit parts of the scene (areas that are not in a shadow). With that you can create extremely realistic shadows in your scenes. At first glance this sounds a lot more complicated than it really is. When it comes to the silhouette edges we don t need to worry about that because the object casting a shadow in this demo is a simple quad. So its outer edges are the same as every point that makes it up.
Packet file list
(Preview for download)
Packet : 103244838gl_shadowsvolumes.zip filelist
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is the largest source code store in internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.