Hi. I'm new to AGK2 and I have a problem with the textures on 3D objects.
My problem is that, when I use an image as a texture of a 3D object, the transparent areas of the images are black in my game, I can't make them transparent.
This is the code I'm using:
LoadImage(imgID,"image",1)
SetObjectImage(objID,imgID,0)
I have also tried to use:
SetImageTransparentColor(imgID,255,255,255)
and also:
SetObjectColor(objID,r,g,b,alpha)
But nothing works, the transparent areas of the image looks black and I don't know what to do about it.
In other tools normally I just need to set the alpha color (black) and make alpha transparent but in AGK2 I just can't make the alpha (black) to be transparent
Anybody could help me with this please?
Thanks