point sprites


I am trying out point sprites, but find that they clip out abruptly at the edge of the viewport.

Is there any way to fix this? It kind of makes them useless…


point sprites are bad news, imho. Not only are they clipped but they’re limited in size and ati’s implementation stinks. As long as you keep them really small like for sparks and such they’re ok.

Me? I use billboards or my own vertex shader to generate them.


This is a specification problem.

Point sprites are clipped because another part of the spec says all points are clipped by point center. This kind of spec pedantry creates an obvious bug and makes a useful feature useless. You could try expanding the viewport and scissoring the smaller region.

The spec is in the process of being amended to fix this problem.