DeferredDecals
DeferredDecals copied to clipboard
Improved version of unity's deferred decals system with layering and frustum culing
UnityDeferredDecals
Improved version of unity's deferred decals system with support of layers and some basic frustum culling.

How to use:
- Essential files are stored in
Assets/DeferredDecals. You can copy paste this folder to your project and everything should work fine - Add
DeferredDecalRenderer.csto your scene. There should be only one renderer - Use
GameObject/Effects/Deferred Decalto create decal - Use
GDecalShadershader for your decal material - You're amazing :D
Pros:
- Improved inspector with embedded material editing:

- Layers. Though making layers is pretty expensive since the more layers you have on screen the more passes are needed.

- Cutout. Each decal can use Alpha Clip to avoid using layers
- Blending with background normals

- Decals can influence smoothness and specular color, using Metallic workflow
- They are still rendered if you're inside the render box
Cons:
- No special normals/diffuse only decals, so each decal layer does copy 3 GBuffers no matter what
- Visibility in editor can be clunky
- Shader is under development. No emission support yet
- No instancing
- Culling doesn't care about walls, it's just AABB check. For now