View Full Version : point sprites
04-06-2006, 07:31 PM
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.
04-06-2006, 10: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.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.