hybrid wrote:Problem with enabling the transparency always is that suddenly many existing meshes don't work anymore.
Presumably because existing textures that are 32-bit and have transparency have been built in .x assuming that the transparency won't work, right?
Therefore it would be pretty dumb of people to use 32-bit textures on their .X models. Therefore not many people would do that. Therefore it's not going to be that much of a problem.
Therefore, if I am creating my own .X models, and I'm happily using 32-bit textures with perfect alpha channels, then I can switch this flag on for each material, right? Unless there is a performance reason not to do it.
Out of interest, what is the model format of choice for using transparent textures? I basically am using imported PNGs to make very simple rooms (texturing the inside of a cube) but I need to cut holes in the texture for windows etc.
Thanks (again!) for your help, Hybrid, and thanks to Pippy as well.