Skip to content

Commit

Permalink
sketch:distort: adapt to lightning changes in Three 155
Browse files Browse the repository at this point in the history
  • Loading branch information
goapunk committed Jul 1, 2024
1 parent c95982a commit e3c7670
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions changelog/0003.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Fixed

- adjust lightning value to new lightning system in Three
2 changes: 1 addition & 1 deletion src/js/sketch/distort/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default function (id, options = {}) {
var sphere = null
var sub_scene = new THREE.Scene()
var sub_camera = new ForceCamera(45, _width() / _height(), 1, 10000)
var sub_light = new THREE.HemisphereLight(0xffffff, 0x666666, 1)
var sub_light = new THREE.HemisphereLight(0xffffff, 0x666666, 1 * Math.PI)
var force = new Force2()
var time_unit = 0.4
var alpha = 1.0
Expand Down

0 comments on commit e3c7670

Please sign in to comment.