Skip to content

SSAO not working on Example website #4680

Answered by dshot92
dshot92 asked this question in Q&A
Discussion options

You must be logged in to vote

I tested by downloading the entire Example page and found this

<script type="module" src="../../node_modules/@google/model-viewer/dist/model-viewer-module.min.js"></script>

It seems like the examples is not uysing the current version of the model-viewer that is on the cdn.

Tried by importing it in my website insted of using the normal cdn

<script type="module" src="https://ajax.googleapis.com/ajax/libs/model-viewer/3.4.0/model-viewer.min.js"></script>

and it work like expected.

EDIT:
RTFMed so hard right now.
In the setup part at the top therers the correct import for the module.
But i flew past it as i had already the model-viewer imported.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@elalish
Comment options

@dshot92
Comment options

@dshot92
Comment options

@dshot92
Comment options

Answer selected by elalish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4679 on February 14, 2024 18:06.