How to do alpha cut windows - Printable Version
+- All-Aircraft-Simulations (
https://allaircraftsimulations.com)
+-- Forum: IL2 Work In Progress MODS Download & Discussion (
https://allaircraftsimulations.com/forumdisplay.php?fid=268)
+--- Forum: MOD Creation Tutorials and Assistance (
https://allaircraftsimulations.com/forumdisplay.php?fid=312)
+--- Thread: How to do alpha cut windows (
/showthread.php?tid=58762)
How to do alpha cut windows - Viikate - 15.01.2009
Since there seems to be some misunderstanding about this issue, Magpie asked me to clarify a bit.
For some reason, there was this picture in the original IL-2 tutorial:
It doesn't matter if the color in alpha layer is gray or black, it's always fully cut. You cannot make semi transparent surfaces with alpha layer of skin1o.tga. You can only cut the holes for the window. The actual window is separate surface with the glass material.
If done properly, the alpha cut window/canopy will have three different layers. Outer, inner and the glass between them. Like this:
(Never mind the missing glass panel. It's filled by a separate glass panel that slides back)
Only materials that will be alpha cut are the double sided materials (Gloss2D0o.mat, Gloss2D1o.mat, Matt2D0o.mat, etc...)
Also it's good to notice that you can use the texture space that is cut away. It's not wasted space like you normally see in the skins. Here marked with red color, I have put some small parts to the window "holes"
And the alpha layer of the same texture. Also notice that ALL the holes that the plane will have it painted here.
But of course you could always do the windows/canopy without alpha and actually this is better way. Alpha is just a lazy man's solution (but so easy to use)
Many modellers doesn't even stop to think that rendering one alpha cut poly is way more slower than rendering one without alpha. I recall that some MG guy once told me what this exchange rate is in IL-2 engine and I was suprised how big it was. Can't remember it anymore though...
- magot - 16.01.2009
yes useful info for public .... as I know more people know use only alpha channel for glass effect.
Is easy build separate material,basic ID of glass was used to number 30,and use Oleg texture called glass in folder TEXTURES.When are used 4 layers this material is possible have a shadow glass effect.
mag
- asheshouse - 16.01.2009
Thanks Viikate. A very useful mini tutorial