Jump to content

  • Log In with Google      Sign In   
  • Create Account


Shadow volume hybrid algorithm


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 anujkaliaiitd   Members   -  Reputation: 100

Like
0Likes
Like

Posted 14 April 2012 - 04:42 AM

Hi all!

We've implemented Eric Chan's hybrid algorithm for accurate shadows, and we're now taking another step. Our shadow volumes algorithm involves extruding silhouette edges in the Geometry Shader.

The question I want to ask is this:

Suppose in the Geometry Shader, we were able to check whether a silhouette edge is already in shadow (using, perhaps, the shadow map). Is it O.K to not extrude this silhouette edge? i.e. simply neglect the shadow planes that will be created when this edge is extruded? We're only dealing with watertight meshes, if that is relevant.

We expect some performance gain if we can reject some edges inside the geometry shader, as that will reduce the fragment shader's load.

Thanks for your help!

Sponsor:

#2 anujkaliaiitd   Members   -  Reputation: 100

Like
0Likes
Like

Posted 14 April 2012 - 09:42 AM

I found the solution. Its not OK.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS