When I play my game in Single Textured mode, the game alpha is all correct and calculated correctly. But as soon as I switch the game to multi textured mode, I get this dumb white outline around my alpha textures. How can I stop this from happening? I absolutely need to have this game run in multi textured mode.
There is no lighting in the game, The only reason why I want muilti textured mode is just so that I can fade objects in and out in the game engine. Fading objects isnt possible in single textured mode.
The picture on top, is in single textured mode, and the picture at the bottom has mutli textured mode.
You can always try to move the game over to use GLSL mode, the multi-texture materials should easily translate over providing you’re not using TexFace and the game will look better to boot with features like per-pixel lighting. It will also still allow the fading of objects via the animation of the object color property.
Im trying to avoid glsl as much as possible, this is only because I dont want to create a bazillion materials for each and every object. I dont want lighting, im trying to keep this as basic as possible.
I could be wrong, but I think this could be because of mip-mapping. The parts of a texture that is fully transparent still has a color, and so when mip-mapping begins to re-size/blur the image, the color of the transparent pixels can begin to show around the edges. The way to fix this is to extend the image colors past the transparent parts. I’m not sure how to do this too be honest, although if you set up a proper material for the object, simply baking the textures to another image with margin turned up might work, although I could be wrong.
I was thinking about that, but ive played around with the colors so much, im am 100% positive that the alpha chanell does not have any white in it. For some reason blender wants to replace the alpha with either black or white. White in multi textured, and black in single textured, i have no idea why it does this.
Im trying to recreate the problem, IT LOOKS IMPOSSIBLE! For some reason when I create a new scene with the same objects but with fresh settings, the game looks fine. But there is just something in that scene that is causing this issue. Ive looked everywhere! I cant find it! I would like to just recreate the scene but I have so much work into it I don’t want to ruin anything.
You can create a new empty scene and link the objects from the other scene to it (<ctrl-L> I think. Do it step by step and in-between check if the results are as expected.
For me it looks that way : both materials have the gray outline. When I enable Face Textures on the material: “Problem” both are are fine. So it seems this settings are not encapsulated and influence other materials. This feels dangerous as you need to check ALL materials in a scene to identify missing configuration.
This might help my at some similar problems I discovered on Alpha-Materials. Thanks for that
Lol I searched for a question online and I end up by solving it myself. Thanks to you I used your strategy of deleting items one by one on a backup file to find the problem.