Just testing Unity shader development
This is my personal repository for testing Unity's Cg / HLSL shader development. Feel free to use any of the shaders and give feedback.
Just open the project folder in the most recent Unity and open a scene.
- Unity's "Gentle Introduction to Shaders"
- Cg reference manual
- UnityCG.cgnic library
- Graphics.Blit
- Some reference code from Unity's wiki
Currently there are the following shaders:
This shader creates a customizable pixelization effect and reduces the amount of used colors to n bits (e.g. setting 8-bit colors this shader limits the colors to approximately 256).
This shader splits the screen to n lines and transitions them to off the screen.
The code in this project is licensed under MIT license.