Tresjs / post-processing

Post-processing library for TresJS
MIT License
37 stars 6 forks source link

[Nuxt - Astro] Maximum recursive updates exceeded on window resize #80

Closed alvarosabu closed 1 year ago

alvarosabu commented 1 year ago

Describe the bug A scene using EffectComposer gets broken when resizing the screen

Reproduction Reproduction

Steps Steps to reproduce the behavior:

  1. Go to '...'
  2. Resize Scene

Expected behavior Scene with post-processing doesn't break

Screenshots

https://github.com/Tresjs/post-processing/assets/4699008/ce16b034-1b7b-49df-a708-320cf13c9831

System Info Output of npx envinfo --system --npmPackages '{vite,@tresjs/*, three, vue}' --binaries --browsers

  System:
    OS: macOS 14.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 89.77 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.14.1 - ~/.nvm/versions/node/v18.14.1/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.3.1 - ~/.nvm/versions/node/v18.14.1/bin/npm
  Browsers:
    Brave Browser: 118.1.59.124
    Chrome: 119.0.6045.105
    Firefox: 118.0.1
    Safari: 17.1
  npmPackages:
    @tresjs/cientos: ^3.6.0 => 3.6.0 
    @tresjs/leches: 0.14.0-next.0 => 0.14.0-next.0 
    @tresjs/nuxt: ^1.2.2 => 1.2.2 
    @tresjs/post-processing: 0.6.0 => 0.6.0 

Additional context Add any other context about the problem here.