Add 3D pixel-art render style (pixelation + depth/normal outlines)

Full-screen URP post effect on the active PC renderer that pixelates the
scene to a fixed low-res grid and draws depth + normal edge-detection
outlines, with color posterization and tone controls, for a stylized
"3D pixel art" look. Runs via Unity's built-in Full Screen Pass feature
(no custom C#); reads camera depth/normals so it applies to DOTS entities
and GameObjects identically.

- PixelOutline.shader/.mat: pixel-snap fill + gamma-space posterize +
  brightness/contrast/saturation + depth/normal outlines. Normal
  threshold tuned high so outlines don't flood small characters.
- PC_Renderer.asset: FullScreenPassRendererFeature (Depth|Normal, after
  post-processing).
- PostFX_Daylight.asset: tonemapping ACES -> Neutral (poppier color).
- Game.unity: brighter base atmosphere (ambient + fog pushed back) and a
  stronger directional key light so the fill reads under the effect.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-06 22:30:18 -07:00
parent 401e0a9c02
commit d2203c8aa1
7 changed files with 240 additions and 39 deletions
@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: ab66a5a8f176cac469b6ade5a4286ef0
ShaderImporter:
externalObjects: {}
defaultTextures: []
nonModifiableTextures: []
userData:
assetBundleName:
assetBundleVariant: