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

Area-light-component doesn't seem to work properly with A-Frame v 0.7.0 and higher #6

Open
frederic-schwarz opened this issue Nov 2, 2017 · 2 comments

Comments

@frederic-schwarz
Copy link

sample code

      <a-entity area-light="width: 10; height: 3; intensity: 100; color:#fff;"
                position="1.5 1.5 -10"
                rotation="0 -90 0">
      </a-entity>

using A-Frame 0.6.1
localhost_8081

using A-Frame 0.7.1

  • area-light is rotated incorrect
  • area-light is not casting light

localhost_8081

@AVGP
Copy link

AVGP commented Dec 26, 2017

A-Frame 0.6 is using Three r84 but there are changes to the THREE.RectAreaLight and THREE.RectAreaLightHelper.

Besides the difference in positioning, there's also a change in Three.js r85 from r84 that changes the material to THREE.LineBasicMaterial instead of a MeshBasicMaterial.

@eoinapplaud
Copy link

Hi AVGP

Could you please advise if it is possible to amend a file to have the area lighting work in aframe 7 and higher? Im bewildered by the engine of this stuff.

Thank you in advcance.

Eoin

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

3 participants