Sign in to follow this  
Zosimas

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this