Horde3D
http://horde3d.org/forums/

Additive alpha models
http://horde3d.org/forums/viewtopic.php?f=1&t=1218
Page 1 of 1

Author:  zoombapup [ 12.08.2010, 21:51 ]
Post subject:  Additive alpha models

So I'm adding tracers to my game http://www.youtube.com/watch?v=pJuwFMEWO3M and I figure I should look at the issue of alpha blending the tracer mesh. But before I dive into it, I wondered if there is already something in there I'm missing? Do any of the existing shaders support alpha? I added alpha testing to my own shaders, but wonder if additive is a different beast (aside from the sorting issues of course).

I'm trying to not get bogged down in too many details (like the particles really not working too well for instance). On to more city generation tommorrow.

Author:  marciano [ 14.08.2010, 13:43 ]
Post subject:  Re: Additive alpha models

What you could do is adding a new context to the model shader which sets the blend mode to additive. This context can be referenced in the pipeline, similar as is already done for particles.

Author:  zoombapup [ 15.08.2010, 13:28 ]
Post subject:  Re: Additive alpha models

Weirdly enough, I'd already done that, just forgot I'd done it. Fixed now.

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