Jump to content
  • Advertisement
Sign in to follow this  
Unreal

Shadow Volumes. Understanding

This topic is 5131 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello! I am trying to implement z-fail shadow volumes. I am trying to draw the shadow volumes af some triangles. But I dont understand some things at the time we draw the shadow volume. I have some source code for rendering shadow volumes for quads. But I have not understand 100% what this code do and then make a similar code for drawing shadow volumes for triangles. here is some source that i have found (but it is for rendering shadow volume for quads): http://rafb.net/paste/results/8nNkxp88.html can someone Help me to understand what this source do? thanks in advnace.

Share this post


Link to post
Share on other sites
Advertisement
There is tutorial on Shadow Volume rendering on GamaSutra.com. This article is written by Eric Lengyel who has perfected the technique. If you have his book "Mathematics for 3D Game Programming and Computer Graphics", you can find a detail explanation along with code on how to implement it. I highly recommend you refer to the book or the article.

Hope this helps!

Share this post


Link to post
Share on other sites
if you don't mind can you post the whole code ?? please ..because i can not get the concept from this part

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!