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

gltf: matching lighting between blender and godot #56

Open
5 tasks
yankscally opened this issue Sep 6, 2024 · 0 comments
Open
5 tasks

gltf: matching lighting between blender and godot #56

yankscally opened this issue Sep 6, 2024 · 0 comments
Milestone

Comments

@yankscally
Copy link
Collaborator

each light will need its own special implementation.

  • match the visual lighting between the apps somehow...

  • the light factor in gltf is multiplied by around 680 - need to find the exact number

  • fix sunlight/directional.
    doesnt use Watts and has default strength value of 10.
    using the 680 factor we can get that the same in godot, however, the actual light levels what you see are much different
    image
    10 is also the max value for a "sun" light in blender.

  • omni light has a range of 4096 on import. not sure how to fix this yet.

  • spotlight seems to work fine, but will check it over anyway

@yankscally yankscally added this to the 0.2 milestone Sep 6, 2024
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