imageStore到RGB纹理?

时间:2015-12-04 07:28:26

标签: opengl glsl textures compute-shader

在OpenGL 4.3中是否可以使用imageLoadimageStore GL_RGB纹理?

glBindImageTexture​中列出的受支持格式似乎只支持1,2和4通道纹理......

1 个答案:

答案 0 :(得分:2)

不,不是。或者至少,一般情况下。

支持一种RGB格式:r11f_g11f_b10f。此外,rgb10_a2rgb10_a2ui几乎是RGB。

但就一般的RGB格式而言呢?不应该。还应该注意,一般的RGB格式也不是required formats for render targets

相关问题