Horde3D
http://horde3d.org/forums/

New blend mode - blendSeparate
http://horde3d.org/forums/viewtopic.php?f=1&t=1546
Page 1 of 1

Author:  worstplayer [ 22.06.2011, 22:38 ]
Post subject:  New blend mode - blendSeparate

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 936 times

Author:  Orm [ 05.08.2011, 20:32 ]
Post subject:  Re: New blend mode - blendSeparate

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.

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