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.


Hardware Depth Cube FBO's


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 shwasasin   Members   -  Reputation: 482

Like
0Likes
Like

Posted 21 January 2013 - 10:20 PM

Hey Everyone,

I've been reading throughout gd.net and Google about hardware depth cubes (rendered from an FBO) and how they are both hardware supported (or not) depending on which threads I read, and which GL/Shader/Extensions versions I am targeting. I'm targeting GL2.0 (GLSL 120) at the moment, and wondering if that's too low hardware requirement for them to be typically supported?

 

I'm trying to gather metrics at the moment to figure out if it's worth switching to GL3 (most likely 3.2), or not. I'm also wondering if it's just the depth texture lookup that's not supported or the sheer rendering to each of the six cube faces that's not supported for depth cubes? This is all leading up to getting omni-directional shadow mapping to work (ideally on an NVidia 8800 min-spec system), so any thoughts or links to papers/examples are appreciated.

 

Thanks!

 



Sponsor:

#2 Ashaman73   Crossbones+   -  Reputation: 7801

Like
0Likes
Like

Posted 22 January 2013 - 04:43 AM

Two thoughts:

1. You can simulate a cube map, just render your 6 sides on a single shadowmap and calculate the offset before accessing it, at least as fallback solution.

2. If you need performance, take a look at dual paraboloid shadow mapping (rendering the scene 2x vs 6x).






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