feat: matte anime materials — kill the glass/mirror look, keep the vibrancy

Everything read as wet plastic or glowing porcelain for two stacking
reasons, both fixed centrally:

- toonify() shipped every character/prop/weapon with a hot rim (0.45 over
  65% of the silhouette) and broad stepped specular (0.25 @ shininess 24) —
  patent-leather highlights on any dark surface. Now a thin rim (0.15/0.4)
  and a small tight glint (0.06 @ 56); shader defaults match.
- The LINEAR tonemapper clipped lit white surfaces (sun + ambient push
  facades past 1.0) and the glow pass bloomed the clip, so buildings glowed
  like porcelain. Switched to FILMIC with white=2.4: near-linear through
  the cel bands (they stay crisp), soft shoulder above 1.0. Glow threshold
  1.1 -> 1.45 so only genuine emissives (neon, tracers, plasma) bloom.
- Saturation 1.22 -> 1.3 compensates filmic mids — vibrancy unchanged.
- Neon Alley: ambient 1.7 -> 1.35 / sun 2.2 -> 2.5 — the shoulder no longer
  hides the ambient lavender cast, so let the sun shape the facades.

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
Nicholas Butzke
2026-07-19 23:53:05 -04:00
co-authored by Claude Fable 5
parent d0c746d084
commit b0f26e6dde
4 changed files with 30 additions and 15 deletions
+7 -2
View File
@@ -85,8 +85,13 @@ static func toonify(src: Material) -> Material:
mat.set_shader_parameter("has_texture", tex != null)
mat.set_shader_parameter("use_triplanar", false)
mat.set_shader_parameter("albedo_color", col)
# Characters read best with a slightly wider lit band and stronger rim.
mat.set_shader_parameter("rim_strength", 0.45)
# Matte anime surfaces: a thin rim for silhouette pop and a small tight
# glint. The old hot rim (0.45 over 65% width) + broad specular made
# every character and prop read as wet plastic / a colored mirror.
mat.set_shader_parameter("rim_strength", 0.15)
mat.set_shader_parameter("rim_width", 0.4)
mat.set_shader_parameter("specular_strength", 0.06)
mat.set_shader_parameter("specular_shininess", 56.0)
return mat