Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


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: 426

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