【问题标题】:Copy luminance/alpha texture to texture in GLES将亮度/alpha 纹理复制到 GLES 中的纹理
【发布时间】:2014-06-19 23:01:59
【问题描述】:

我正在尝试将亮度纹理复制到亮度纹理。更具体地说,我正在尝试用另一个纹理扩展内存中的单通道纹理。

我目前的步骤:

create FBO with Luminance format, new width and height.

bind FBO.

render the textures concatenated.

unbind FBO

create Luminance texture the size of FBO

bind FBO with Luminance texture

render FBO's previous texture

unbind FBO

但是 GLES 2.0 文档指出,FBO 不能渲染到亮度纹理。那我该如何处理单字节纹理呢?我是否可以在 GPU 上复制亮度纹理?

【问题讨论】:

    标签: opengl-es opengl-es-2.0


    【解决方案1】:

    我最终使用了 RGBA_4444,即 2 个字节,因此增加了 100%,但仍然可以接受。

    【讨论】:

      猜你喜欢
      • 2011-03-16
      • 1970-01-01
      • 1970-01-01
      • 2014-07-21
      • 2016-09-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多