ProtoArt / spritec

The Sprite Compiler turns your 3D models into 2D spritesheets
https://protoart.me/
Mozilla Public License 2.0
32 stars 5 forks source link

Toon/Cell Shader #2

Closed sunjay closed 5 years ago

sunjay commented 5 years ago

We currently have a simple diffuse shader taken from the euc examples. We want to replace that with a Toon/Cell shader so we get the pixel art effect we are going for. There are lots of tutorials about this online and we should adapt their code.

https://en.m.wikibooks.org/wiki/GLSL_Programming/Unity/Toon_Shading

http://rbwhitaker.wikidot.com/toon-shader

sunjay commented 5 years ago

Finished this. Scaling was not incorporated into the shader.