0
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.

Unity ShaderGraph レシピ #3 市松模様

Last updated at Posted at 2020-12-11

#全集中!市松模様
スクリーンショット 2020-12-11 0.45.45.png

#作り方
#1シンプルなグリッドより遥かにシンプルなシェーダーなのでこれを#1にすればよかったと思っています。ええ。

###1. Checkerboard

市松模様を作るためのすべての要素はCheckerboardノードに含まれています。
スクリーンショット 2020-12-11 0.46.05.png

CheckerboardノードのoutをそのままColorに流すだけ。簡単!
Color A, B がそれぞれの模様の色になります。
Frequencyの値が模様の繰り返し回数になります。

Frequency = 1の場合
スクリーンショット 2020-12-11 0.55.21.png

Frequency = 3の場合
スクリーンショット 2020-12-11 0.55.38.png

###完成!


その他のレシピはShaderGraphレシピ一覧にまとまっています

0
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
0
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?