Skip to content

Commit

Permalink
Merge pull request #80 from martinlaxenaire/develop
Browse files Browse the repository at this point in the history
Updated glTF lightning parameters
  • Loading branch information
martinlaxenaire authored Jun 21, 2024
2 parents 880c7e1 + f0836d9 commit b9a7879
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/gltf-loader/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,15 +282,15 @@ window.addEventListener('load', async () => {
},
range: {
type: 'f32',
value: lightPositionLength,
value: lightPositionLength * 3,
},
color: {
type: 'vec3f',
value: new Vec3(1),
},
intensity: {
type: 'f32',
value: lightPositionLengthSq,
value: lightPositionLengthSq * 3,
},
},
},
Expand Down

0 comments on commit b9a7879

Please sign in to comment.