Multi-textured Point Sprites in OpenGL ES2.0 on iOS?
问题 I am trying to make a multi-textured point sprite for an iphone application using OpenGL ES 2.0. I can't find any examples of this on web, and it doesn't seem to be working. Is there some built-in limitation where gl_PointCoord can't be used on multiple textures when using GL_POINTS mode for point sprites? uniform sampler2D tex; uniform sampler2D blur_tex; vec4 texPixel = texture2D( tex, gl_PointCoord ); vec4 blurPixel = texture2D( blur_tex, gl_PointCoord ); I'm sure I am passing in the