I am trying to draw point sprites in OpenGL with a shader but gl_PointCoord is always zero. Here is my code. Setup: //Shader creation.
確定! 回上一頁