Mesh appearance constants and the blending-mode → emission-shape mapping.
Small on purpose, and shared by four consumers that must not disagree: the GLSL
material wrapper, the TSL material wrapper, the TSL factory's build-time branch,
and createMeshNode. Each of them has to answer the same two questions — "what
does a mesh look like by default" and "which fragment emission does this blending
mode want" — and a per-file copy of either answer is a divergence waiting to
happen between the two backends.
Mesh appearance constants and the blending-mode → emission-shape mapping.
Small on purpose, and shared by four consumers that must not disagree: the GLSL material wrapper, the TSL material wrapper, the TSL factory's build-time branch, and
createMeshNode. Each of them has to answer the same two questions — "what does a mesh look like by default" and "which fragment emission does this blending mode want" — and a per-file copy of either answer is a divergence waiting to happen between the two backends.