Horde3D

Next-Generation Graphics Engine
It is currently 25.06.2018, 03:23

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 25.04.2011, 23:58 
Offline

Joined: 11.09.2010, 20:21
Posts: 44
Location: Germany
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.


Top
 Profile  
Reply with quote  
PostPosted: 02.05.2011, 02:12 
Offline
Engine Developer

Joined: 10.09.2006, 15:52
Posts: 1217
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.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group