# NPR_Lab **Repository Path**: erratas/NPR_Lab ## Basic Information - **Project Name**: NPR_Lab - **Description**: NPRShader - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-06-13 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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) ## 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](https://github.com/candycat1992/NPR_Lab/blob/master/SceneImages/LowPolygonGeometryScene.png) ![alt text](https://github.com/candycat1992/NPR_Lab/blob/master/SceneImages/LowPolygonNoSharedVerticesScene.png) 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](https://github.com/candycat1992/NPR_Lab/blob/master/SceneImages/WireframeScene.png) # More Info For more information, please visit http://blog.csdn.net/candycat1992.