Closed MasatoMakino closed 4 months ago
上記2つのデモは、基本的に公式exampleと全く同じである。 https://threejs.org/examples/webgl_clipping.html https://threejs.org/examples/webgl_clipping_stencil.html 自身の学習のために追加したが、現状では冗長なだけなので削除する。
https://masatomakino.github.io/threejs-shader-materials/demo/demoSolidClipping.html 同様の表現は別リポジトリでも検証、メンテナンスをしている。
クリッピングの方法が変化したようで、正常に描画されていない。 以下の公式exampleを参照して修正する。 https://github.com/mrdoob/three.js/blob/master/examples/webgl_clipping_stencil.html
対象は https://masatomakino.github.io/threejs-lab/demo/StudyLoopAnimation.html https://masatomakino.github.io/threejs-lab/demo/StudyStencil.html の二点