An open API service indexing awesome lists of open source software.

https://github.com/kazuhito00/unity-quad-shader-learn

Unity平面シェーダーの勉強の記録。
https://github.com/kazuhito00/unity-quad-shader-learn

shader unity

Last synced: 2 months ago
JSON representation

Unity平面シェーダーの勉強の記録。

Awesome Lists containing this project

README

          

# Unity-Quad-Shader-Learn
Unityの平面シェーダーの勉強の記録です。

体系的なものではなく、必要になったものや思いついたものから雑多に追加しています。

# Requirement

* Unity 2018.3.9f1 (or Later)
2018以前のバージョンでも動作すると思います。

# Installation

以下をUnityでオープンしてください。

Unity-Quad-Shader-Learn\ShaderLearn\Assets\Scenes\SampleScene.unity

動作を確認する際は、以下のようにQuadオブジェクトのShaderの適用を変更してください。

![2020-04-25 (10)](https://user-images.githubusercontent.com/37477845/80282565-02f40700-874d-11ea-8bf9-a89310340573.png)

# Contents
|00:None(加工無し)|01:flip(反転)|
:---:|:---:
|![2020-04-25 (0)](https://user-images.githubusercontent.com/37477845/80282520-f66fae80-874c-11ea-8d44-6503bf194479.png)|![2020-04-25 (1)](https://user-images.githubusercontent.com/37477845/80282552-ff608000-874c-11ea-9cb0-e9df1401452f.png)|

|02:scroll(スクロール)|03:grayscale(グレースケール)|
:---:|:---:
|![ojj5n-vbnf7](https://user-images.githubusercontent.com/37477845/80282566-038c9d80-874d-11ea-9f43-d8ba1365ef6b.gif)|![2020-04-25 (3)](https://user-images.githubusercontent.com/37477845/80282556-0091ad00-874d-11ea-9c1a-adb0735457d1.png)|

|04:binarization(2値化)|05:color_reversal(色反転 ※ネガポジ反転)|
:---:|:---:
|![2020-04-25 (4)](https://user-images.githubusercontent.com/37477845/80282558-012a4380-874d-11ea-9871-7d50ac520136.png)|![2020-04-25 (5)](https://user-images.githubusercontent.com/37477845/80282559-012a4380-874d-11ea-9906-6ca8fc9b7cba.png)|

|06:sepia(セピア)|07:pixelize(ピクセル化 ※モザイク処理)|
:---:|:---:
|![2020-04-25 (6)](https://user-images.githubusercontent.com/37477845/80282560-01c2da00-874d-11ea-99c0-44534a7cb971.png)|![2020-04-25 (7)](https://user-images.githubusercontent.com/37477845/80282561-025b7080-874d-11ea-800d-a04d5c651d99.png)|

|08:posterization(ポスタリゼーション)|09:alpha(アルファ処理)|
:---:|:---:
|![2020-04-25 (8)](https://user-images.githubusercontent.com/37477845/80282563-025b7080-874d-11ea-8e38-a69d41543f7c.png)|![2020-04-25 (9)](https://user-images.githubusercontent.com/37477845/80282564-02f40700-874d-11ea-80b0-28b0d20e5564.png)|

|10:blur(ぼかし)|
:---:
|![blur](https://user-images.githubusercontent.com/37477845/83158232-7d92b680-a13f-11ea-9733-691bbf9849b1.png)|

その他、順次追加予定。。。

# Author
高橋かずひと(https://twitter.com/KzhtTkhs)

# License
Unity-Quad-Shader-Learn is under [MIT license](https://en.wikipedia.org/wiki/MIT_License).

また、画像は[フリー素材ぱくたそ](https://www.pakutaso.com)様の写真を利用しています。