Grant-Nelson / ThreeDart

3D graphical rendering tool for websites written in Dart.
Other
16 stars 11 forks source link

Cartoon technique and shader #9

Open Grant-Nelson opened 7 years ago

Grant-Nelson commented 7 years ago

Create a cartoon technique which uses two shaders, a cell shader and an outline shader, to create a cartoon effect. The cell shader could initially be simple with only one Light type and basic color materials, texturing and additional Light types can be added later. The outline shader should allow the thickness of the lines to be set.

To test the new technique, setup at minimum a simple test example of the technique on one or more complex objects which the user can rotate freely.

mikatalk commented 7 years ago

Here is a great example to work with: https://www.shadertoy.com/view/XtVGD1

Grant-Nelson commented 7 years ago

That's really cool. It would be nice to have a sketch technique too. I'll have to remember that one. Thanks.

Grant-Nelson commented 5 years ago

A paper for the cartoon render and other techniques for doing "sketch" rendering: http://developer.amd.com/wordpress/media/2012/10/ShaderX_NPR.pdf