3
2

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 5 years have passed since last update.

【Shader Forge】Timer + Lerp 使ってみた

Last updated at Posted at 2016-03-08

時間経過に応じて色が変わるnodeを組むことができた
http://acegikmo.com/shaderforge/wiki/index.php?title=Time_%26_Pulsating_Lights
を参考にしました。

ポイントは、Lerpで二つの色を補完してること。
LerpのTにTime+Sin+Remapを繋げることで時間経過によって色がかわるように表現してる。
時間で変わる色にTexture2DをMultiplyで掛け合わせて完成。

Node
スクリーンショット 2016-03-09 0.18.02.png

3月-09,-2016-00-17-compressor.gif

あれ・・・gifが再生されない・・・?
=>gifは1MB以内じゃないと再生されないようです・・・

3
2
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
3
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?