iDevGames Forums
ES 2.0 Point size - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: ES 2.0 Point size (/thread-613.html)



ES 2.0 Point size - Mark Levin - Nov 9, 2009 12:43 PM

What is the ES 2.0 equivalent of glPointSize()? All I can find in the docs is how to retrieve the current value of the point size, not how to assign it.


ES 2.0 Point size - arekkusu - Nov 9, 2009 01:46 PM

In ES2, you must set the point size in the vertex shader if you are drawing points. There is no context state for it.

See the documentation on gl_PointSize.