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!
There are some showcase.
Model From: 模之屋, Background From: GameVision Studios
FernNPR can easy get various styles of materials, including NPR and PBR.
If you want to see more examples, please visit More Example on the Wiki
Fern SD Graph is a Graph tool integrated in Unity, which can obtain the scene information of Unity and generate images using Stable Diffusion.
SD Graph has been moved to this repository: https://github.com/FernRender/FernSDGraph
There are some useful tool.
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.
- Open Window -> Package Manager
- Click + Button
- Add package by name
- Add: com.unity.jobs
- Add: com.unity.nuget.newtonsoft-json