Did you try this: https://www.opengl.org/sdk/docs/man/html/textureSize.xhtml. Did it not work? I always pass the texture size as shader ...
確定! 回上一頁