How to do alpha cut windows
#1

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:
[Image: glassalpha.gif]

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:

[Image: alphacut_windows.jpg]
(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"
[Image: mapping_example.jpg]

And the alpha layer of the same texture. Also notice that ALL the holes that the plane will have it painted here.
[Image: skin1o_alpha.jpg]

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) Tongue 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...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)