2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【Three.js】美しくゆらゆらゆがむシェーダー

Last updated at Posted at 2020-12-19

マウスの位置に合わせて画像の揺れが変わる

コード
・画像ありの四角形を描画する
・マウスのy座標に合わせて、四角形に適用されたシェーダーの値が変化する

コード内に解説は全て書きました。
text6.gif

See the Pen ThreeJS: Plane Geometry + imagg + Distoration by やまかず / Kazuyuki Yamamoto (@yamkaz) on CodePen.

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?