Is it possible to get a sampler2DMS from a FBO?

Hi, I’m currently developing some post processing effects with glsl and Render To Textures and am trying to find a way to get multisampling working with post processing. I know that glsl allows fetching texels from ‘sampler2DMS’. In my render pipeline, I have some compressed vec4s that are in the form of a float (via auxiliary outputs) and the msaa is really messing with the decompression process. I did find this post:

https://discourse.panda3d.org/t/gl-texture-2d-multisample-and-sampler2dms/15816

but it looks like the feature to use this sampler type never got implemented. I would find it very useful to have this feature and access the raw texels from the multisample layers to avoid this compression corruption. Could this still be implemented?

Unfortunately this isn’t currently implemented. Please file a feature request on GitHub.

1 Like