• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS Toggle Panel Lights - Emissive textures

Hello there,

So I managed to create panel backlights using the emissive texture option in Blender,

The panels gauges have one MSFS Standard material that has a Albedo and an emissive texture. They are visible in Game thanks to the Day night cycle but I can't turn them on or off.

My question : How do I toggle the visibility of the emissive textures with the Panel Lights Switch that I already put in place ?

Sans titre.jpg

Screenshot of blender

Thanks in advance!
Hi Taog44. I think I was answering this in Discord, but here is a more complete solution idea. I like to post these here because this forum can at least be in search results when others are looking for similar solutions.

The problem with emissive materials in MSFS 2020 is that you have to control it at the object/node level and can't control it for everything that shares that material. That results in a lot of XML code to control every single object.

The best I can think of is to leverage a template and use minimal code for each object. Here's a template that has default parameters for a circuit that has to be on (i.e. the panel circuit or main circuit, whatever you need) and a potentiometer control for the brightness. I also added a dimming factor set to 50% because I find 100% emissive to be overly bright. Adjust this to taste.

<Template Name="Panel_Emissive_Template">
    <Parameters Type="Default">

    <Component ID="PANEL_EMISSIVE_#NODE_ID#" Node="#NODE_ID#">
                    <Code>(A:CIRCUIT ON:#CIRCUIT#, Bool) (A:LIGHT POTENTIOMETER:#POTENTIOMETER#, Percent over 100) * #DIMMING_FACTOR# *</Code>

<UseTemplate Name="Panel_Emissive_Template">
<UseTemplate Name="Panel_Emissive_Template">
Keep listing all the relevant objects using the same pattern. I haven't tested this in sim, but it's based on a similar template I was using.

For any objects that don't require animation, such as the gauge faces, you can join them together as one mesh in Blender to reduce the number of code lines that need to be added.

To make the emissive material in Blender, you specify a texture for the emissive texture and make sure the emissive color is not black. The emissive color will affect the brightness and tint of the final material.
Last edited:
Hello Sal ! Thank you so much for your answer here and on Discord,

I will try to apply it and come back after I do my tweaking :)