PDA

View Full Version : point sprites



marksibly
04-06-2006, 06:31 PM
Hi,

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...

Bye!
Mark

04-06-2006, 08:45 PM
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.

Hth

dorbie
04-06-2006, 09:59 PM
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.