Enum PuddleShading
- Namespace
- DFA.Puddlecraft
How puddles reach the screen.
public enum PuddleShading
Fields
Overlay = 0Placed puddles are drawn over the finished opaque image. Works with every material, no shader changes needed. Materials using Puddlecraft/Lit (Wet) or the wetness node still get wet ground and procedural puddles, but those don't merge with the placed ones.
Materials = 1Your materials draw everything: Puddlecraft/Lit (Wet), the puddlecraft-wetness Shader Graph node or the PuddlecraftWetness HLSL function. Placed and procedural puddles merge into one. Works in Forward, Forward+ and Deferred. Materials that don't use it stay dry.