• 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 Tinted cockpit glass

Messages
26
Country
germany
Hello everyone,
I’m not sure if here is the right place / forum / to ask.
I’d like to edit the tinted cockpit glass for 2 aircrafts, F16C ( SC Designs ) and F15C - DC Designs , but especially for the first one.
There is a mod on flightsim.to but unfortunately not available for the mentioned aircrafts
Is there a way to edit / modify / this ?
Could anyone, please, help me ?
If I have to " open - crack " some files, I won’t share it, I don’t want to have troubles
It’s only for my personal use.
Thank you in advance
 
Messages
94
I don't have either of those addons so I can't say exactly, but there are basically two ways a developer can make tinted glass.
You can look for a texture that appears like it would be made for the glass. If you replace that texture with a transparent, colorless texture, the tint would be eliminated.
The other way, would be if the texture properties added a color tint. For this, you would need to edit the gltf file. These files are text format, so you would use a plain text editor to find the material and edit the color properties.
Obviously, either of these assume you can find the texture or material. If you're lucky, they may be named glass or windshield or canopy.
Before making any changes, it would be very wise to back up all the files in case something goes wrong.
Here is what a material definition looks like in a gltf file:

Code:
        {
            "alphaMode" : "BLEND",
            "emissiveFactor" : [
                0,
                0,
                0
            ],
            "extensions" : {
                "ASOBO_material_draw_order" : {
                    "drawOrderOffset" : 2
                },
                "ASOBO_material_glass" : {
                    "glassReflectionMaskFactor" : 0.5,
                    "glassDeformationFactor" : 0
                }
            },
            "name" : "Glass",
            "pbrMetallicRoughness" : {
                "baseColorFactor" : [
                    0.7018854022026062,
                    0.7148101329803467,
                    0.8203963041305542,
                    0.009999999776482582
                ],
                "metallicFactor" : 0,
                "roughnessFactor" : 0.07999999821186066
            }
        },
This is the color definition:
Code:
"baseColorFactor" : [
                    0.7018854022026062,
                    0.7148101329803467,
                    0.8203963041305542,
                    0.009999999776482582
                ]
The numbers are the red, green, blue and alpha values from 0-1. If the last value (alpha) is 0, that color is fully transparent. In the example above, the alpha is 0.01 which is almost completely transparent. Also, the 3rd value is slightly higher which will tint it toward blue. If all the colors are the same, it would be neutral gray.
Hope this may help.
 

=rk=

Resource contributor
Messages
4,450
Country
us-washington
You could ask the developer

For SC Designs you'd have to go to Facebook.
 
Messages
94
There is a material that may be the one you are looking for:
{"name":"GlassGold","alphaMode":"BLEND","pbrMetallicRoughness":{"baseColorFactor":[0.914969265460968,0.8881757259368897,0.6964331269264221,0.05000000074505806],"metallicFactor":0.30000001192092898,"roughnessFactor":0.009090900421142578},"extensions":{"ASOBO_material_kitty_glass":{"glassReflectionMaskFactor":1.0}}}
That color definition would give it a yellow tint. If you search all the gltf files for "name":"GlassGold", you can find them.

Please do not post the model files into this forum. You should not be sharing proprietary files.
 
Messages
26
Country
germany
DCD_F16_MSFS_071221 is the only file which contains " GlassGold "
I tried to modify those values ( printscreen attached ) and indeed, the cockpit glass color is changed but only from external view
 

Attachments

  • gltf.jpg
    gltf.jpg
    19.2 KB · Views: 76
Messages
94
Maybe a different material is being used elsewhere. You should have the basic idea how to change it, just search for each of the materials by looking for "baseColorFactor" and note if the last number is small. If so, that's likely a nearly transparent material.

As =rk= mentioned, you could try to contact the developer. They may be able to help you.
 
Messages
94
Sorry. I meant the last value in the array for "baseColorFactor":[0.914969265460968,0.8881757259368897,0.6964331269264221,0.05000000074505806]
In this case it's 0.05000000074505806
 
Messages
26
Country
germany
Thank you for trying to help me, I think I give up, it seems to be very difficult to fix this
 
Top