mosaicchen / NPR_Lab

:pencil2: Test some NPR in Unity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

This project is intended to test some NPR in Unity.

Unity Version

Unity 5.3.0 Personal

Current NPR Labs

Antialiased Cel Shading

Related Scenes:

  1. AntialiasedCelShadingScene

References:

[1] http://prideout.net/blog/?p=22

Screenshots:

![alt text](https://github.com/candycat1992/NPR_Lab/blob/master/SceneImages/AntialiasedCelShadingScene.png)

Tone Based Shading

Related Scenes:

  1. ToneBasedShadingScene

References:

[1] Gooch A, Gooch B, Shirley P, et al. A non-photorealistic lighting model for automatic technical illustration[C]//Proceedings of the 25th annual conference on Computer graphics and interactive techniques. ACM, 1998: 447-452.

Screenshots:

![alt text](https://github.com/candycat1992/NPR_Lab/blob/master/SceneImages/ToneBasedShadingScene.png)

Stylized Highlights

Related Scenes:

  1. StylizedHighlightsScene

References:

[1] Anjyo K, Hiramitsu K. Stylized highlights for cartoon rendering and animation[J]. Computer Graphics and Applications, IEEE, 2003, 23(4): 54-61.

Screenshots:

![alt text](https://github.com/candycat1992/NPR_Lab/blob/master/SceneImages/StylizedHighlightsScene.png)

Operation Example:

![alt text](https://github.com/candycat1992/NPR_Lab/blob/master/SceneImages/OperationExample.png)

Pencil Sketch Shading

Related Scenes:

  1. PencilSketchShadingScene

References:

[1] Lake A, Marshall C, Harris M, et al. Stylized rendering techniques for scalable real-time 3D animation[C]//Proceedings of the 1st international symposium on Non-photorealistic animation and rendering. ACM, 2000: 13-2

Screenshots:

![alt text](https://github.com/candycat1992/NPR_Lab/blob/master/SceneImages/PencilSketchScene.png)

Hatching

Related Scenes:

  1. HatchingScene

References:

[1] Praun E, Hoppe H, Webb M, et al. Real-time hatching[C]//Proceedings of the 28th annual conference on Computer graphics and interactive techniques. ACM, 2001: 581.

Screenshots:

![alt text](https://github.com/candycat1992/NPR_Lab/blob/master/SceneImages/HatchingScene.png)

Pencil Contour

Related Scenes:

  1. PencilContourScene

References:

[1] Lee H, Kwon S, Lee S. Real-time pencil rendering[C]//Proceedings of the 4th international symposium on Non-photorealistic animation and rendering. ACM, 2006: 37-45.

Screenshots:

![alt text](https://github.com/candycat1992/NPR_Lab/blob/master/SceneImages/PencilContourScene.png) ![alt text](https://github.com/candycat1992/NPR_Lab/blob/master/SceneImages/ContourZoom.png)

Wireframe

Related Scenes:

  1. WireframeScene

References:

[1] http://prideout.net/blog/?p=48

[2] http://scrawkblog.com/2013/03/18/wireframe-shader-for-unity/

[3] Bærentzen A, Nielsen S L, Gjøl M, et al. Single-pass wireframe rendering[C]//ACM SIGGRAPH 2006 Sketches. ACM, 2006: 149.

Screenshots:

![alt text](https://github.com/candycat1992/NPR_Lab/blob/master/SceneImages/WireframeScene.png)

More Info

For more information, please visit http://blog.csdn.net/candycat1992.

About

:pencil2: Test some NPR in Unity.


Languages

Language:GLSL 54.4%Language:C# 45.6%