Horde3D
http://horde3d.org/forums/

Useless vertPos attribute for particles
http://horde3d.org/forums/viewtopic.php?f=8&t=1517
Page 1 of 1

Author:  Rauy [ 25.04.2011, 23:58 ]
Post subject:  Useless vertPos attribute for particles

The vertPos attribute for particle rendering is completely useless, as its value is always zero and the particle position is computed completely from the uniform arrays. This seems to be a relic from builtin gl_Vertex times. The particle's texCoord could be deduced from the parCorners too, but that would mean additional computation.

Author:  marciano [ 02.05.2011, 02:12 ]
Post subject:  Re: Useless vertPos attribute for particles

This is true, the vertPos attribute is obsolete, thanks for the reminder. Also the vertex shader code for the rotation can be simplified/optimized quite a bit. We'll submit a patch for that soon.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/