aframevr / aframevr/aframe

Issue with lights in aframe from blender models

Open
#4,432 17 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
17.6k
Forks
4.4k
PR merge metrics
No merged PRs in 30d

Description

I was making a model in blender for testing in aframe, using all default settings in blender. When I used it in aframe, I noticed that it did not appear to be using the light resources. I confirmed that all the normals were facing the right direction, and that no gltf export flags were different than what should be there (Not using unlit settings).
In a separate occasion with a model from elsewhere (an obj file), I used blender to export into a glb and it used the light properly, but the original obj did not. (Not including those files, just mentioning).
I am not sure if this is a bug or if I am doing something wrong, but all of the models view correctly in blender, paint3d and 3dviewer on windows 10.

  • A-Frame Version: 1.0.2
  • Platform / Device: Windows 10

error.zip

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting error.zip and reproducing the report with the supplied Blender model in A-Frame 1.0.2 on Windows 10. Compare its lighting behavior with the separately described OBJ-to-GLB export, then determine whether the issue is in the model export or A-Frame rendering; done means a confirmed cause and a focused fix or documented reproduction.

Written by the indexing model from the issue text.

Assessment

Tech stack
blender
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.