[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Public WebGL] point sprites



Hi John,

You could have a look at the ParticleSystem example from the OpenGL ES 2.0 Programming Guide: http://www.opengles-book.com/webgl.html .  It uses gl_PointSize to control the size of the particles and gl_PointCoord for applying the texture.

Hope this helps.

-- Dan



On 4/13/11 6:04 AM, "John Davis" <jdavis@pcprogramming.com> wrote:

Are there any demos or documentation showing the use of gl_pointsize and gl_pointcoord?

JD



-----------------------------------------------------------
You are currently subscribed to public_webgl@khronos.org.
To unsubscribe, send an email to majordomo@khronos.org with
the following command in the body of your email:
unsubscribe public_webgl
-----------------------------------------------------------