Author Topic: Texture Alpha blending  (Read 589 times)

Offline eduyayo

  • byte
  • *
  • Posts: 2
    • View Profile
Texture Alpha blending
« on: September 20, 2013, 01:51:58 pm »
Hi,
I'm trying to add two textures, one solid and one with alpha loaded from a Png file created with gimp.

I've tried all MODE_ blendings and cannot get the effect of just decal the second texture over the original one.

Any ideas?

thx.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
Re: Texture Alpha blending
« Reply #1 on: September 20, 2013, 09:55:15 pm »
That's because there is (was) no decal mode for blending...to be honest, i'm not sure why it was missing. Try this jar: http://jpct.de/download/beta/jpct_ae.jar

Offline eduyayo

  • byte
  • *
  • Posts: 2
    • View Profile
Re: Texture Alpha blending
« Reply #2 on: September 20, 2013, 11:12:42 pm »
Wah! Works!

Pretty well done.

Thanks!