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

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.

In the upcoming flighting, we've changed the behaviour of the content.xml file. If your addon uses this file, please read this article!

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


question

BlackJack avatar image
BlackJack asked FlyingRaccoon answered

alpha material "shine"

hi there,

currently im reworking our 3D Trees to fit to the new LOD requirements. In this context i want to decrease the "shine" at my alpha textures for the branches and leaf. as you can see at the screenshot, whenever the sun hits the faces applied with the alphha material from behind , i notice some strange shine at those faces.

1641245060621.pngthe roghness channel is pure white, the metallness pitch black, from this side there should be no shine applied by the PBR material. Are there some settings for the material to avoid the shining alpha textures?

1641245205520.png1641245233239.png


scenerymaterials
1641245060621.png (2.5 MiB)
1641245205520.png (16.3 KiB)
1641245227950.png (3.3 KiB)
1641245233239.png (3.3 KiB)
10 |10000

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

FlyingRaccoon avatar image
FlyingRaccoon answered

Hello @BlackJack

We have a similar result with the trees provided with asobo package but the material are set as double sided (that's the cause of the shine being visible from behind) and that doesn't seem to be your case.
Can you confirm the leafs being illuminated are facing towards the camera and the one facing the sun are not rendered since the double sided option is unchecked in your picture?

Regards,
Sylvain

10 |10000

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

BlackJack avatar image
BlackJack answered FlyingRaccoon commented

Hi @FlyingRaccoon

thats right i didn´t use the double sided alpha option due to the note in the documentation not to use it at the moment. faces which point direct to the camera and being illuminated from the back seem to have this behaviour, i think i found a pretty good example:

2022-01-10-20-27-13-microsoft-flight-simulator-121.jpg


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.

FlyingRaccoon avatar image FlyingRaccoon ♦♦ commented ·

@BlackJack I'm struggling to understand how these faces can be lit if their normal is facing the camera. If I take the Tree_Acacia01 object from the default package, the leafs facing the camera only have ambient lighting.


1641893810982.png

The leaf material here is double sided so the leafs at the back.

Could you provide us with your blender source for this tree so we can investigate where the problem occurs?
You can provide a OneDrive/GoogleDrive/WeTransfer link in a private comment using the option below the submit button.

Regards,
Sylvain

0 Likes 0 ·
1641893810982.png (1.8 MiB)
BlackJack avatar image
BlackJack answered

Hi Sylvain,

i noticed the same behaviour with the Tree_Acacia01 tree:

1641900055812.png


1641900055812.png (3.8 MiB)
10 |10000

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

FlyingRaccoon avatar image
FlyingRaccoon answered

Hello @BlackJack

The Tree_Acacia01 has the problem because it has double sided material.

We identified the problem: your leaf polygons normals are smoothed

1641998676462.png

If you have flat ones, the problem does not occur:

1641998850228.png

Regards,
Sylvain


1641998850228.png (435.9 KiB)
1641998676462.png (169.8 KiB)
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.