- Messages
- 9
- Country

I've seen several posts dealing with 2D gauge lighting but I can only find 1 (from 2008) that seems to come close to addressing the issue I have.
I'm re-writing all the gauges for the planes I own in order to effect more realistic gauge lighting. For example when the panel light is turned on, the entire face of my radio stack and the panel background should not light up... that would be a cabin light function.
The first main problem I ran into is that even when I'm dealing with a single gauge I run into bitmaps for lighted textures getting chunks taken out of them when a needle moves over them revealing the unlit texture which resides at a lower level.
For example:
bg.bmp
followed by
bg_panel_lit.bmp
followed by
Needle.bmp
followed by
Needle_Lit.bmp
Results in the gauge being drawn correctly (usually after the second or third time you flip the panel light switch only until the needle moves a bit at which time the area covered by 0x000000 in the Needle_Lit.bmp is erased revealing bg.bmp and effectively giving you a partially lit gauge.
What kind of different solutions have people come up with for this issue, or is that why I'm not really seeing lit gauges outside the virtual cockpit?
Thanks for looking,
Bao
I'm re-writing all the gauges for the planes I own in order to effect more realistic gauge lighting. For example when the panel light is turned on, the entire face of my radio stack and the panel background should not light up... that would be a cabin light function.
The first main problem I ran into is that even when I'm dealing with a single gauge I run into bitmaps for lighted textures getting chunks taken out of them when a needle moves over them revealing the unlit texture which resides at a lower level.
For example:
bg.bmp
followed by
bg_panel_lit.bmp
followed by
Needle.bmp
followed by
Needle_Lit.bmp
Results in the gauge being drawn correctly (usually after the second or third time you flip the panel light switch only until the needle moves a bit at which time the area covered by 0x000000 in the Needle_Lit.bmp is erased revealing bg.bmp and effectively giving you a partially lit gauge.
What kind of different solutions have people come up with for this issue, or is that why I'm not really seeing lit gauges outside the virtual cockpit?
Thanks for looking,
Bao

