hi guys,
I am working on the shader material, it works fine wenn I just use build-in mesh von Babylonjs. I need to use the shader material now on the imported GLTF mesh now. I get confused because of the right-hand coordinate system and left-hand coordinate system. What does the clockweiseOrientation von PBRMaterial really do? I think I need build the same property in my shader material. Does anybody have some idea?
In Playground I put the shader material with build-in mesh (sphere) and glb file, you can check the result. The TestMat is a build-in PBRMaterial, the glb mesh with same correct setting(the clockweiseOrientation property) works fine with PBRMaterial, but I want to have this property in my shader material. I tried to change the vertex coordinate, it did nothing.
https://www.babylonjs-playground.com/#4AJ16M#45
gltf mesh with shader material