Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Advanced Shadowmapping


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 3TATUK2   Members   -  Reputation: 730

Like
0Likes
Like

Posted 11 September 2013 - 10:28 PM

Does anyone have material on *VSM* omnidirectional shadowmapping with depth cube?

 

I have omnidirectional depth cube working, but the VSM same here uses TEXTURE_2D and I don't know how to use 6 TEXTURE_2D in a shader for shadows. http://fabiensanglard.net/shadowmappingVSM/

 

Either a depth cube VSM example, or a omni-directional 6-texture shader example?

 

Also, skewbe shadowing would be even better as it looks amazing from what i've seen.

 

thanks



Sponsor:

#2 BlueSpud   Members   -  Reputation: 448

Like
0Likes
Like

Posted 12 September 2013 - 12:23 PM

Does anyone have material on *VSM* omnidirectional shadowmapping with depth cube?

 

I have omnidirectional depth cube working, but the VSM same here uses TEXTURE_2D and I don't know how to use 6 TEXTURE_2D in a shader for shadows. http://fabiensanglard.net/shadowmappingVSM/

 

Either a depth cube VSM example, or a omni-directional 6-texture shader example?

 

Also, skewbe shadowing would be even better as it looks amazing from what i've seen.

 

thanks

If you're using a TEXTURE_2D look into multi texturing. Every system has a limit to how many textures you can use with multi texturing, and there's a way to find it, but I'm not very familiar with it. If you needed to have more than a computer's limit, you'd have to jury rig some cpu calculations to give you perhaps just a vec4 for each fragment, but that would be very hard to do probably. (I'm no OpenGL or GLSL expert and I don't pretend to be) 






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