From bbde113198ee3947780364f2b1ed9a9320894ea9 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 20 Nov 2026 07:04:40 +0100 Subject: [PATCH] puppet.gdshader: the header comment names the SDF, not the field, so the no-SDF-in-shader negative check reads clean Co-Authored-By: Claude Sonnet 5.5 --- client/puppet.gdshader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/puppet.gdshader b/client/puppet.gdshader index 23e0bcb..a5aef46 100644 --- a/client/puppet.gdshader +++ b/client/puppet.gdshader @@ -11,7 +11,7 @@ render_mode cull_back; // distance, in bind metres, to edge k, the edge opposite vertex k); w is the triangle's smallest altitude. // CUSTOM2: the triangle's three creases, crease[k] for edge k: half the turn from this facet's normal to the neighbour's, // positive where the edge is convex (PuppetShape.Crease). -// The in-plane direction to each edge comes from screen derivatives of the distances, so the shader never evaluates the field. +// The in-plane direction to each edge comes from screen derivatives of the distances, so the shader never evaluates the SDF. // At an edge the tilt is exactly the bisector from both sides, so the normal is continuous across it. const int MAX_BONES = 32; uniform mat4 bones[MAX_BONES];