tamani-coding / threejs-stencil-buffer-example

threejs-clipping-stencil-example
MIT License
12 stars 4 forks source link

Not working with threejs 0.163.0 #1

Open codewithfeeling opened 2 months ago

codewithfeeling commented 2 months ago

I saw your YouTube video (great) and install this repo - worked perfectly. However, when I uninstall three 0.148 which you used and install 0.163 instead (latest version), it does not work. There is only a black cube on the screen.

Steps to reproduce

  1. Clone this repo
  2. Change package.json dependencies:
"dependencies": {
    "@types/three": "^0.163.0",
    "dat.gui": "^0.7.9",
    "three": "^0.163.0"
  }
  1. Run npm install followed by npm start
  2. Observe a black cube instead of the expected graphical output
codewithfeeling commented 2 months ago

This is resolved with my PR: https://github.com/tamani-coding/threejs-stencil-buffer-example/pull/2