Fixes size attenuation calculation for GL points
The calculation for perspective-based size attenuation of GL points was wrong; the scale should be entirely based on distance in the z-axis relative to the camera. This change makes points fit perfectly with identical quads in the same scene (where previously the point size would nonsensically shrink towards the sides of the image). A comparison can be seen here: http://imgur.com/a/G3sJ7
Showing
想要评论请 注册 或 登录