When using model-viewer (), I'm trying to set the loading color of my model-viewer
to red. Unfortunately, I haven't been able to find any information related to this in the documentation.
https://i.sstatic.net/IBGjm.png
For reference, here is the codepen link: https://codepen.io/luxonauta/pen/vYKYppq?editors=1010
<!-- Loads <model-viewer> for modern browsers-->
<script type="module" src="https://unpkg.com/@google/model-viewer@latest/dist/model-viewer.js"></script>
<!-- Loads <model-viewer> for old browsers like IE11-->
<script type="nomodule" src="https://unpkg.com/@google/model-viewer@latest/dist/model-viewer-legacy.js"></script>
<main>
<section class="has-dflex-center">
<div class="lx-container-80">
<div class="lx-row">
<div class="lx-card bs-lg">
<model-viewer src="https://cdn.glitch.com/36cb8393-65c6-408d-a538-055ada20431b/Astronaut.glb?1542147958948" ios-src="https://cdn.glitch.com/36cb8393-65c6-408d-a538-055ada20431b/Astronaut.usdz?v=1569545377878" poster="https://cdn.glitch.com/36cb8393-65c6-408d-a538-055ada20431b%2Fposter-astronaut.png?v=1599079951717" alt="A 3D model of an astronaut!" shadow-intensity="1" camera-controls="true" auto-rotate="true" ar="true"></model-viewer>
<p class="text"><i class="fas fa-hand-point-right"></i> This pen is a basic demo of the <model-viewer> web component. It makes displaying 3D and AR content on the web easy!</p>
</div>
</div>
</div>
</section>
</main>
The demo on the Codepen link is fully functional, except that the red color implementation is missing: https://codepen.io/luxonauta/pen/vYKYppq?editors=1010
I would greatly appreciate your help. Thank you in advance!