Skip to content

Light estimation in WebAR #4

Description

@Fatima-mnsuam

Hi, I'm beginner in WebAR. I need help regarding light estimation. Please anyone can help me to add light estimation component in my webAR code.
Here's my code for simple webAR:

<script src="https://aframe.io/releases/1.4.2/aframe.min.js"></script> <script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v6.1.1/dist/aframe-extras.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/mind-ar@1.2.2/dist/mindar-image-aframe.prod.js"></script>
  <a-entity mindar-image-target="targetIndex: 0">
    <a-box
      position="0 -1 0"
      rotation="0 45 0"
      color="#4CC3D9"
      animation__yoyo="property: position; dir: alternate; dur: 1000;
                             easing: easeInSine; loop: true; to: 0 1 0"
    ></a-box>
  </a-entity>
</a-scene>
Please help me. Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions