Jump to content
  • Advertisement
Sign in to follow this  

[.net] Shadow Volume Question (VB.NET 2005, Direct3D)

This topic is 3414 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

Hi! I made a test Direct3d project with VB.NET 2005 trying to see how shadow volume works. When I render the scene without shadows I get this nice result: I'm using a material for the teapot with this ambient color: Material.Ambient.Color(255, 127, 127, 127) to get the result of a global lighting. When I render the scene with shadows I get this strange result: The shadow result is nice as I expected, but it also renders an annoying Sharpe shading at the back of the teapot! How can I avoid the rendering of this shading? The source code is here: D3D_Shading_Shadows.zip Thank you! [Edited by - Zosimas on September 15, 2009 7:29:37 AM]

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!