Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Light estimation in WebAR #4

Open
Fatima-mnsuam opened this issue Jun 9, 2024 · 0 comments
Open

Light estimation in WebAR #4

Fatima-mnsuam opened this issue Jun 9, 2024 · 0 comments

Comments

@Fatima-mnsuam
Copy link

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/[email protected]/dist/aframe-extras.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/[email protected]/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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant