Tresjs / post-processing

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

Postprocessing breaks on Nuxt #58

Closed alvarosabu closed 1 year ago

alvarosabu commented 1 year ago

Describe the bug Postprocessing Render seems to break on Nuxt.

Reproduction https://stackblitz.com/edit/nuxt-starter-2qaqwx?file=nuxt.config.ts,components%2FTheExperience.vue,package.json,app.vue

Steps Steps to reproduce the behavior:

  1. Go to Reproduction
  2. Resize

Reproduction When resizing the clear color also goes blank. Effects don't work etc

Expected behavior All smooth and working lol

Screenshots Screenshot 2023-09-27 at 13 26 13

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

  System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.20.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.4.2 - /usr/local/bin/npm
    pnpm: 8.6.10 - /usr/local/bin/pnpm
  npmPackages:
    @tresjs/nuxt: ^1.1.7 => 1.1.7 
    @tresjs/post-processing: ^0.4.0 => 0.4.0 

Additional context Add any other context about the problem here.

JaimeTorrealba commented 1 year ago

@Tinoooo I believe this is your :D

alvarosabu commented 1 year ago

Oh lol sorry @JaimeTorrealba hahaha

alvarosabu commented 1 year ago

@Tinoooo any chance to check on this? It's important to get post-processing demos working on the playground.