texture with internal format GL_RGBA8 turns up in fragment shader as float

前端 未结 0 1776
说谎
说谎 2021-02-04 07:21

I have created a texture with this call:

glTexImage2D(GL_TEXTURE_2D, 0,GL_RGBA8, w, h, 0,GL_RGBA, GL_UNSIGNED_BYTE, 0);

I render to the texture w

相关标签:
回答
  • 消灭零回复
提交回复
热议问题