Listing 5.37 shows an example of how to read from a texture in GLSL. 当你创建了纹理对象,然后往里面填充数据之后,你就可以在shader里从里面读 ...
確定! 回上一頁