Author Topic: Making a HUD: How Blending params work?  (Read 6237 times)

0 Members and 1 Guest are viewing this topic.

ekalap

  • Associate
  • Posts: 3
Making a HUD: How Blending params work?
« on: September 15, 2008, 02:06:15 PM »
Hello all,

Congrats again to the Demoniak3D that is awesome!

I am trying to build a HUD of my own, and I have a texture that I can display nicely. The problem is when I try to set the blending properties right so that the texture's alpha channel is blending with the 3D scene. Can you provide any examples on the use of the different options (e.g. BLENDING_FACTOR_ZERO, BLENDING_FACTOR_ONE, BLENDING_FACTOR_SRC_ALPHA, etc.) for the src_factor and dst_factor parameters?

Thanks in advance
 :)
Elias

SPRINGER

  • Thug
  • *
  • Posts: 44
Re: Making a HUD: How Blending params work?
« Reply #1 on: September 15, 2008, 05:25:59 PM »
I found this picture once.
Hope it will help.

http://bifurcations.fr/ressourcesDemoniak/blending_big.jpg

ekalap

  • Associate
  • Posts: 3
Re: Making a HUD: How Blending params work?
« Reply #2 on: September 15, 2008, 05:32:02 PM »
Wow! That was VERY helpful!

 :clap: Thanks a lot again, issue resolved.  :clap:


Elias