Night textures with alpha channel

A great entry on the design ladder, repainting can be rewarding & fun! Learn how here! (Not for repaint requests)

Night textures with alpha channel

Postby 9thSimplex » Thu Jan 12, 2006 1:10 pm

Hello,

as oyu may know i am skinning Cantu's 737-200 currently.

I arrived at making the night textures now which brought me to a new question.

I read somewhere that a night texture can also contain 2 channels. Does this statement apply to ALL FS9 planes cominh with bmp night textures? Regarding to my read the primary night texture is the "landinglights+panel lights" status while the alpha channel resembles the "panel lights only" channel.

for cantu'S 737 it is important for me to have acess to both channels as the landing light seems to glow through the whole fuselage. so i have to shut down the landing lights. Currently in this state the cabin windows are dark too... less desirable imho. So i added an alpha channel and saved the bmp as dxt1 compressed with alpha but now i do not even have ANY lights left :(

Any ideas?

thanks and best regards,
Simplex
If you like screenshots you might check
Image
User avatar
9thSimplex
2nd Lieutenant
2nd Lieutenant
 
Posts: 154
Joined: Wed Dec 21, 2005 10:50 pm
Location: Eurospeedway Lausitzring, GER

Re: Night textures with alpha channel

Postby wji » Fri Jan 13, 2006 11:07 am

What do the night textures look like now in DXTbmp? I do not repaint this model but as noted, these characteristics work across FS9 aircraft (and FS2k2 I presume)

"I read somewhere that a night texture can also contain 2 channels."

That sounds logical enough but what is contained in the Alpha Channel? Here's a night-file someone gave me (with a plain Alpha Channel) which was a vast improvement over the default,  plain-black night textures for another FS9 model:

Image
Image PhotoShop 7 user
User avatar
wji
Major
Major
 
Posts: 1644
Joined: Tue May 04, 2004 11:27 am

Re: Night textures with alpha channel

Postby 9thSimplex » Sat Jan 14, 2006 5:04 am

Hi,

my night texture is close to that beside the fact that i have an alpha channel which is the same than the normal "large" image but without the tail lights and landing light beams --> only the cabin windows are visible in my alpha channel

When I save it as DXT1 the whole bmp (includgin alpha channel) turns black.. :(
If you like screenshots you might check
Image
User avatar
9thSimplex
2nd Lieutenant
2nd Lieutenant
 
Posts: 154
Joined: Wed Dec 21, 2005 10:50 pm
Location: Eurospeedway Lausitzring, GER

Re: Night textures with alpha channel

Postby Katahu » Wed Jan 18, 2006 9:52 pm

Ok, this is how I understand as far as textures go.

The night effects of the textures that appear in the aircraft model are really called "Light Maps". "Night Textures" seem to refer to the scenery at night. Don't get those two terms confused.

To make a simple texture [with alpha channel] have a light effect at night the following steps are needed:

1. Name the main texture to "whatevernameyouwant_t.bmp" * then apply it to Gmax as a diffuse texture.
2. Create another texture with the light effects highlighted in it to "samenameasmaintexture_l.bmp" **. and they link it to the main texture in Gmax as an illuminated texture.

3. Create an alpha channel with black and white properties and name it "samenameasmaintexture_Alpha_t.bmp" *** and import it into the main texture via DXTBmp utility.

4. Save the main texture [the one with the imported alpha] in the same name and let it overwrite itself *.

5. Reload main texture in Gmax so that it can know that the texture is converted *.

6. Export Gmax model ****.

* the "t" in *_t.bmp tells FS that the texture will be reflective when alpha is applied. If there is no "t" in the end, then the alpha will make the texture transparent when applied.

** the "l" in *_l.bmp tells FS that this texture will be overlapped on top of the main texture in FS. Thus resulting in a merged texture in FS.

*** the "Alpha" in *_Alpha_t.bmp is usually just reference so that you get don't confused which texture is the alpha channel texture.

**** I cannot garantee that you will get it right the first time. But if you do, the aircraft should appear reflective in the day and will light up its textures in the night when you hit the light key. Note: The light effect only works when it's night time.

This is as far as I understand because this is the same technique I have used when I made the textures and applied them to the Chevy addon. I don't know where you read about a texture having two channels. But if you look at the steps above, you can see that the Alpha channel can do two things but not both at once.

The Alpha can only create either a transparent effect or a reflective effect in FS, but not both at the same time. The light effects are achieved by the light map that is linked to the main texture. Here is a little hierarchy list I made just to simply things:

I. Object model
---A. Main_Texture_t.bmp [with alpha channel imported]
------1. Main_Texture_l.bmp

Get the idea?

However, I don't know how to maintain the reflective effect when lights are switch on at night. The reflections are lost when lights are on at night.
User avatar
Katahu
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 5993
Joined: Mon Jul 22, 2002 10:29 pm

Re: Night textures with alpha channel

Postby SHV0151 » Fri Jan 20, 2006 10:12 pm

Correct me if I am wrong, but I dont think DXT1 can have an alpha channel.
Image
Visit my site! isa.can.com
User avatar
SHV0151
2nd Lieutenant
2nd Lieutenant
 
Posts: 205
Joined: Tue May 17, 2005 9:43 pm
Location: Watsonville, California

Re: Night textures with alpha channel

Postby Katahu » Fri Jan 20, 2006 10:48 pm

Correct me if I am wrong, but I dont think DXT1 can have an alpha channel.


Given my experience with DXT1, I don't think so either. But DXT3 can.
Last edited by Katahu on Fri Jan 20, 2006 10:49 pm, edited 1 time in total.
User avatar
Katahu
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 5993
Joined: Mon Jul 22, 2002 10:29 pm


Return to Aircraft Repainting

Who is online

Users browsing this forum: No registered users and 185 guests