[Interest] Shadow Mapping using QOpenGLFramebufferObject

Prashanth Udupa prashanth.udupa at gmail.com
Mon Feb 1 19:19:06 CET 2016


Hi Guiseppe,

The call "m_shadowFBO->texture();" will not return the depth texture
> that you need for shadow mapping, but the (useless) color texture that
> your QOpenGLFramebufferObject contains. There's currently no accessor
> for the depth texture, nor a way to create a QOGLFBO without a color
> texture. For this kind of usages it would be better if you roll out your
> own FBO class :\
>

Ok. Got it. Thanks :-)

Best Regards,
Prashanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160201/af1b6e62/attachment.html>


More information about the Interest mailing list