Horde3D

Next-Generation Graphics Engine
It is currently 18.04.2024, 11:17

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 22.06.2011, 22:38 
Offline

Joined: 08.06.2010, 14:17
Posts: 63
Here's the problem: my game contains more particles than average GPU can handle. So, I tried to render them in separate buffer with lower resolution than the rest of the scene. However Horde3D's BlendMode=Blend "averages" alpha instead of adding it up.
Image

So, here's a new blend mode that adds alpha correctly (with glBlendFuncSeparate).
Image

Here's a patch:


Attachments:
blendseparate.patch [1.82 KiB]
Downloaded 786 times
Top
 Profile  
Reply with quote  
PostPosted: 05.08.2011, 20:32 
Offline

Joined: 09.09.2009, 18:58
Posts: 107
That's a mighty impressive display you got there. Care to share your wisdom/artwork? :mrgreen: By the way, I'm giving your patch a try.


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 16 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:  
cron
Powered by phpBB® Forum Software © phpBB Group