Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Advanced Shadowmapping

4: Adsense

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   

714
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



#2 BlueSpud   Members   

649
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.