Transparency in Mesh

Blitz3D Forums/Blitz3D Programming/Transparency in Mesh

Yue(Posted 2010) [#1]
Hi how do I detect alpha masks in a mesh, because I can not get detected transparency in the tree.



Formtat: png mask Alpha


D4NM4N(Posted 2010) [#2]
Its all about textures, not meshes. Is your leaf a PNG 32 bit with valid alpha channel? Otherwise it needs to be lossless 24 bit with a mask color (not as good)

Try the line:

TextureFilter "Leaftexture.png" , 11
Or whatever you called it ^^

If you are using mask though you need to look up the filters for that instead. I never use mask because it looks crap.

Last edited 2010


D4NM4N(Posted 2010) [#3]
dubl post!

Last edited 2010


Yue(Posted 2010) [#4]
Hi, I greatly appreciate your help, is that translators are crap and sometimes lends itself to misunderstandings.

Well I'll tell you that thanks to you I solved the problem, what happens is that I based on a sample blitz3D where the image is not filtered and that had me confused and they do not know if there is a better way but this is the result, I appreciate comments. and if you'd like me to clarify the terms alpha and mask.




Greetings


D4NM4N(Posted 2010) [#5]
looking good!! :D

Last edited 2010


D4NM4N(Posted 2010) [#6]
DOUBLE post again! DAMN!

Last edited 2010