Login  Register

Re: Can't make sprites work as points

Posted by jmaasing on Jul 28, 2015; 5:42pm
URL: https://forum.jogamp.org/Can-t-make-sprites-work-as-points-tp4034986p4034987.html

Point sprites are sometimes an efficient way to do what you are looking for. However, for glPointSize the OpenGL specs only mandate that drivers/cards must support size 1. So you'll get varying results with nVidia, AMD, Apple et c if you specify anything else than 1.
I think what most game engines do is to draw a quad (two triangles) to do billboarding and maybe optionally try to use point sprites if they happen to be supported (many drivers/cards actually do support it, maybe there is some way to query the driver for support?).