plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

Save the date ! On February the 9th, at 10:30am, we will be happy to meet you again for a live SDK Q&A ! You can already ask all your questions here on the forum.

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!


question

MariopilotPD808 avatar image
MariopilotPD808 asked FlyingRaccoon commented

(Aircraft interior) glassReflectionMaskFactor Bug

When implementing a MSFS Glass material inside the virtual cockpit, the parameter "glassReflectionMaskFactor" no longer functions. Instead the reflection is always present. Manually altering the value to absurd values like "100" (range shall be 0 to 1) in the .gltf file itself leads to "funky" effects. Anything form 0 to 1 leads to the same reflection amount.

The material is set very simple. No textures applied.

The material has been used to add reflections to the canopy glass. This works nicely, but cannot be tuned, as "glassReflectionMaskFactor" has no effect. Using roughness is not an option for the canopy glass.

aircraftbugmaterials
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

1 Answer

· Write an Answer
FlyingRaccoon avatar image
FlyingRaccoon answered FlyingRaccoon commented

Hello @MariopilotPD808

This parameter only has an influence on the fake cockpit reflections but screen space reflections and sky cubemap influence are not influenced by this.
We have plans to improve the cockpit reflections so that it's no longer an issue.

Regards,
Sylvain

1 comment
10 |10000

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 19.1 MiB each and 23.8 MiB total.