MegaGlest Forum
Modding and game content creation => Mods => Topic started by: Coldfusionstorm on 27 January 2015, 12:16:43
-
Teamcolor right now works that you define alpha color in your texture however, This removes the possibilty of making glasslike surfaces or low poly fences, (and properly a few more options im not currently aware of).
So i was thinking what about being able to mark mesh plates and let the engine teamcolor those instead of the on the texture, Or use a certain obscure color code for teamcolor. (not the beautifull solution tho).
-
I would recommend not doing transparency through alpha channels as the detection is a little off. My experience is that alpha channels with areas less than 50% are not rendered at all, and areas greater than 80% are rendered fully opaque.
Instead use G3DHack to define mesh opacity, and this way you can have team color alpha channel and define opacity on same mesh. Using different meshes to define zones of different degrees of transparency.
-
Transparent surfaces have always existed in Glest, and here's how to achieve them: https://docs.megaglest.org/Transparent_teamcolor
(If there's a more up-to-date link, somebody please provide it.)
-
Thanks, I did not know this, :), Il try it out, and il report back!
-
(If there's a more up-to-date link, somebody please provide it.)
Simply replace https://docs.megaglest.org/ with https://docs.megaglest.org/
https://docs.megaglest.org/Transparent_teamcolor (https://docs.megaglest.org/Transparent_teamcolor)
-
I think Coldfusionstorms question was about transparent parts in the model. This is not transparent team color ( which is very tricky ).
Its very easy to do because you just need a second object in blender where you can set team color to false. So you can have objects with team color and objects without. In MG those are called Meshes, so in MG a mesh can have a teamcolor effect ( transparency is replaced with team color) or it has no such effect and is by this transparent like the texture shows it. Combine multiple of theses Meshes to one final model and you get what you want.
see here : https://docs.megaglest.org/Teamcolor
[ this is no feature request, more a question for the mod section ;) )
-
Ah Titi, Thanks that was exactly what i was looking for!, Even better you gave solution! Many thanks!