www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: eduyayo on September 20, 2013, 01:51:58 pm

Title: Texture Alpha blending
Post by: eduyayo 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.
Title: Re: Texture Alpha blending
Post by: EgonOlsen 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 (http://jpct.de/download/beta/jpct_ae.jar)
Title: Re: Texture Alpha blending
Post by: eduyayo on September 20, 2013, 11:12:42 pm
Wah! Works!

Pretty well done.

Thanks!