FernNPR
FernNPR is a library for non-photorealistic rendering (NPR) in Unity. It offers a variety of NPR techniques, Character Renderering, Environmental Renderering, and Stable Diffusion!
Example
There are some showcase.
Model From: 模之屋, Background From: GameVision Studios
FernNPR can easy get various styles of materials, including NPR and PBR.
More Example
If you want to see more examples, please visit More Example on the Wiki
Fern SD Graph
Fern SD Graph is a Graph tool integrated in Unity, which can obtain the scene information of Unity and generate images using Stable Diffusion.
Note
SD Graph has been moved to this repository: https://github.com/FernRender/FernSDGraph
Tool
There are some useful tool.
SmoothNormal And Texture Baker
This tool was developed by DumoeDss.
Smooth Normals is used to solve the problem of stroke breakage due to unsmooth model normals in runtime or editor. For more information, you can check here.
Texture Baker can bake textures onto a mesh.
Requirements
- Open Window -> Package Manager
- Click + Button
- Add package by name
- Add: com.unity.jobs
- Add: com.unity.nuget.newtonsoft-json