PDA

View Full Version : Night panel


kuning
April 8th, 2008, 22:12
Hello guys.....How can I add lighting effect to my 2d panel at night.......I create my own panel (bmp) n work very well at day time...Gauge lighting it's o.k,but I wan my 2d panel.bmp have night lighting effect.......

I already made 2 panel.bmp for day n night textures "panel_T" n "panel_L" n place it into my panel n texture folder.....but it doesn't work.....when I turn off cockpit light,my panel still dark without panel_L image........

any Idea guys.......

thank friends......

Isra
April 9th, 2008, 06:05
Hi
Thats' the wrong way!
You have to control the bmp's via Gauge. Nothing happens if you put the bmp's into the texture folder.

Cheers Isra

Moparmike
April 9th, 2008, 17:05
Hello guys.....How can I add lighting effect to my 2d panel at night.......I create my own panel (bmp) n work very well at day time...Gauge lighting it's o.k,but I wan my 2d panel.bmp have night lighting effect.......

I already made 2 panel.bmp for day n night textures "panel_T" n "panel_L" n place it into my panel n texture folder.....but it doesn't work.....when I turn off cockpit light,my panel still dark without panel_L image........

any Idea guys.......

thank friends......

To my knowledge, the panel background bitmaps don't react to the _L and _T switches like model texture bitmaps do. On the panels that I have seen done with whole panel lighting the builders did it by making a gauge that covers the whole panel background and toggles the lighting use the same "IMAGE_USE_LUMINOUS" or "IMAGE_USE_LUMINOUS_PARTIAL" flags in the gauge. IMAGE_USE_LUMINOUS_PARTIAL uses the alpha channel to determine the light mapping but I haven't played around with it to see exactly how it works.

kuning
April 10th, 2008, 05:18
Oh, I see....
anybody out there have a tutorial about panel lighting? :jump:

Thank a lot friends....