FlowParity.compute: declare the flow keywords the way Stardust.compute does

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-13 21:50:27 +02:00
commit 1c9c70a3ec

View file

@ -2,6 +2,9 @@
// Aetheria.EditorTools.FlowFieldParityVerify can compare them with FlowField (ServerShared). Reads the same global
// _Flow* uniforms the nebula and stardust read, set by VolumeSampling.LowerFlow.
#pragma kernel Evaluate
// A compute shader declares the global keywords itself (as Stardust.compute does); the flow() it calls is keyword-gated.
#pragma multi_compile __ FLOW_GLOBAL
#pragma multi_compile __ FLOW_SLOPE
#include "Assets/Shaders/Volumetric.cginc"