Skip to content

Commit

Permalink
update lab + fix scale instance mesh issue
Browse files Browse the repository at this point in the history
  • Loading branch information
damienmontastier committed Jan 3, 2025
1 parent 469c051 commit e4faf86
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions components/content/magical-marbles/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ const uniforms = reactive({
})
onMounted(() => {
if (!mainRef.value) return
ctx = gsap.context(() => { }, mainRef.value)
})
Expand Down Expand Up @@ -135,9 +137,8 @@ const updateBackground = (immediate = false) => {
}
else {
ctx.add(() => {
console.log(backgroundRef.value)
console.log(backgroundGradient.value)
console.log(sphereRef.value.instance)
if(!sphereRef.value) return
tl = gsap.timeline({
onStart: () => {
tlInProgress.value = true
Expand Down

0 comments on commit e4faf86

Please sign in to comment.