(baked?) Shadow on the model wont update #3595
-
Hello, I am trying to make some type of configurator where you can add/remove model parts. The problem I am facing is that when I remove parts of the model the parts that were not visible appear to have baked shadows like the removed part is still there. The pictures will probably explain it better than me :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Ah yes, this is not any shadows created by model-viewer, but the shadowing of your ambient occlusion texture (exported in your GLB). You'll need to update your texture to remove those: https://modelviewer.dev/examples/scenegraph/#createTexturesExample |
Beta Was this translation helpful? Give feedback.
Ah yes, this is not any shadows created by model-viewer, but the shadowing of your ambient occlusion texture (exported in your GLB). You'll need to update your texture to remove those: https://modelviewer.dev/examples/scenegraph/#createTexturesExample