Conversation
|
Thanks for the PR @cpichard and sorry for the delayed response! This triggered some questions on our end, about the doubleSided property. There seems to be some reason to think it's not a hard-requirement, but just a suggestion? Karma interpreted the property that way, so it draws backfaces by default (i.e. the glass examples just work, as shown in the renders). Anyway, it's spawned some internal investigations, and I think we'll be reaching out to the USD folks on this soon, just to get some clarity on the meaning/intent here. But I don't see a problem having this on by default. Thanks! |
|
Hi @crydalch , thanks for the follow up ! |
When the doubleSided parameter is not set on the mesh, the mesh is by default single sided.
This PR ensure all the meshes in the StandardShaderBall are double sided, allowing renderers supporting sidedness to correctly render materials like glass.