NVIDIAGameWorks / rtx-remix

Combined repo for the RTX-Remix runtime
https://www.nvidia.com/en-us/geforce/rtx-remix/
MIT License
1.37k stars 69 forks source link

[Toolkit bug]: Inverted normal maps on ingested references not working properly #522

Open KingDavidW opened 4 months ago

KingDavidW commented 4 months ago

Describe the bug

Basically if you create an object with normals facing inward, and do not tag it as double sided, you would expect the object to render only at the angle you can see the interior from. Picture is the actual result of what's happening. It still appears solid no matter what.

image image

How do you reproduce the bug?

Here are two files, one FBX, one USDA already ingested by remix, that have been confirmed to work on someone else's remix. Just put them in, and you should see one of them be see through from an angle.

https://cdn.discordapp.com/attachments/1028444668918235197/1243845965757026334/one_sided_test.fbx?ex=6656e9d3&is=66559853&hm=4a1b1de1d9d6fd5bdd2a181a198ac92c716d6cd5752f897925d26d2df62afce9&

https://cdn.discordapp.com/attachments/1028444668918235197/1243846239234031667/ingested_one_sided_test.zip?ex=6656ea14&is=66559894&hm=1b5a45a5e1d9541192afad430fbd261e748711e2a6bca6d2b324900c92efbdc5&

What is the expected behavior?

Created an object with normals facing inward, and it not marked as single sided, should produce invisible materials from the outside except for areas where you can see the interior for the model

image

Version

2024.3.1

sjgillard commented 4 months ago

Jira created: REMIX-3127

KingDavidW commented 3 months ago

Is there any hardware information needed from me? It's very odd that this issue exists on my PC but not on the person above's. If someone from NVIDIA can see if this occurs at all on their machine that may be a good starting point

sjgillard commented 3 months ago

More information is always appreciated. If you would like to provide any logs or machine details, it's always appreciated!