Skip to content

candycat1992/NPR_Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

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

Operation Example:

alt text

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

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

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 alt text

Low polygon

Related Scenes:

  1. LowPolygonGeometryScene (Flat shading by using geometry shader)
  2. LowPolygonNoSharedVerticesScene (Flat shading by converting any mesh to one with no-shared vertices. Open: Window -> Convert to No-Shared Vertices Mesh)

Screenshots:

alt text alt text

References:

[1] http://answers.unity3d.com/questions/798510/flat-shading.html

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

More Info

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

About

✏️ Test some NPR in Unity.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published