Does anyone have a problem with the PBR Shader and the web SDK, I am trying to use the shoe try-on template and imported my own 3D Model with PBR shader and textures but it seems like there is a problem with the light or something, it’s always dark
Hi @Ehab_Ayman could please you share the project folder so we can have a look at this issue?
You will find 2 materials the PBR which is placed now and gives weird lighting effect and the unlit one which is working fine
Thank you we are looking into it. We’ll let you know here when we know more.
Hi @Ehab_Ayman, can you please make sure that you import the shoe model with
Calculate Tangent Space option enabled, since you’re using normal mapping.
The reason we have this disabled by default is that it inflates the vertex count and the standard models (such as face, lips, eyes…) would not be recognized as such. In the future versions, we will address this issue and this option would be enabled by default when the user imports non-standard models. But for now, you should enable it manually.
Hi @antonio and @jelena ,
Thanks for help, I think that solved most of the issues but still with the pbr shader there is a strange behaviour that the lighting on the shoes glitches when only one foot is there and gets fixed when you place the 2 feet anyways I’ve switched to standard shader and it’s great now but I will upload for you a version vith the pbr for the issue to look at.
@Ehab_Ayman please do send us the updated project when you can.
We have also noticed that your ambient occlusion map is rather dark in most places, so you could also check if this is the behaviour you want by trying a different, or even completely white ambient occlusion map.
@jelena Great, I can’t upload the project to the forum now it gives me an error that new users can’t upload and that I’m flagged as violating the forum
I’ve changed all black textures with empty white ones, but there is still a glitch that happens when only one foot is there and gets fixed when both feet are there.
Sorry about that, the forum is a bit new, we’ll sort that out in a moment
@jelena Great, Can you send me your email so we can communicate there
Can you try posting the drive link again please?
Thank you. Our apologies, the auto moderation was a bit overzealous
No worries yeah, it’s a bit harsh auto-moderated
Hi @Ehab_Ayman, thank you for reporting, this indeed is a bug. It will be fixed within the next DeepAR SDK release. As a temporary workaround could you try to duplicate the material used on the other shoe to make sure that the shoes use different materials from each-other.
Reason why this bug happens is because the DeepAR SDK caches model normal matrices per material basis instead of per node basis. This is easily fixable and we will get right on it.
Thank you so much for helping us make DeepAR SDK and Studio better.
Hi @antonio, You’re welcome and thanks for the workaround! can’t wait for the next release