Systemic: - Queued manual presses until the skill is actually ready; manual hold is per skill, so J no longer parks WARP/FLUORESCENT on manual. - Required line of sight for targeting, flight and damage; steered the heap toward moving crowds; locked WARP to the crowd present at cast (manual no-target fields remain area hazards). - Reused the targeting hash, throttled fruitless autoplay scans, raised event capacity and emitted skill VFX events before per-hit events. - Used explicit SkillCast bit flags, showed applied damage, skipped dead enemies and kept cooldowns advancing inside the blackout pocket. Visual: - Tinted ground waves per skill (teal WARP, pale concrete CALL, yellow light). - Added landing telegraphs, dust wakes and a teal collapse burst; grey concrete impact decals; per-skill HUD accents and a queued-press badge. - Added --skill-test staging with sim-time-keyed captures for VFX QA. Tests: 16/16 pass, including new queue lifetime, per-skill autoplay, cast flag and moving-target cases.
46 lines
1.7 KiB
GLSL
46 lines
1.7 KiB
GLSL
#version 330
|
|
// FBC: NIGHT SHIFT - corruption wave around Hiss units.
|
|
// Everything below is an SDF: radial distance, one expanding ring front and a
|
|
// ragged silhouette. One quad, a dozen ALU ops, no texture fetches.
|
|
in vec2 vUv;
|
|
out vec4 finalColor;
|
|
|
|
uniform vec4 colDiffuse;
|
|
uniform float uTime;
|
|
uniform float uPhase;
|
|
uniform float uCorruption;
|
|
uniform float uIntensity = 1.0;
|
|
uniform vec4 uTint; // per-wave palette (Hiss red by default)
|
|
|
|
void main()
|
|
{
|
|
vec2 p = vUv * 2.0 - 1.0;
|
|
float r = length(p);
|
|
if (r > 1.0) discard;
|
|
|
|
float t = uTime * 1.1 + uPhase;
|
|
|
|
// Wave front SDF sits outside the model silhouette, breathing outward.
|
|
float front = 0.66 + 0.10 * sin(t * 1.3);
|
|
float ring = 1.0 - smoothstep(0.0, 0.11, abs(r - front));
|
|
// A second, slower front drifts from the core to the edge.
|
|
float travelling = fract(t * 0.16);
|
|
ring = max(ring, (1.0 - smoothstep(0.0, 0.09,
|
|
abs(r - travelling))) * (1.0 - travelling) * 0.55);
|
|
|
|
// Ragged outer edge from two cheap angular waves - no noise texture.
|
|
float ang = atan(p.y, p.x);
|
|
float ragged = 0.88 + 0.07 * sin(ang * 7.0 + t * 1.7)
|
|
+ 0.04 * sin(ang * 13.0 - t * 1.1);
|
|
float body = 1.0 - smoothstep(ragged * 0.30, ragged, r);
|
|
float inner = 1.0 - smoothstep(0.0, 0.52, r);
|
|
|
|
vec3 dark = vec3(0.008, 0.004, 0.008);
|
|
vec3 col = mix(dark, uTint.rgb,
|
|
clamp(ring * 0.85 + (1.0 - inner) * 0.14, 0.0, 1.0));
|
|
|
|
float a = body * (0.34 + 0.16 * uCorruption) + ring * 0.30;
|
|
a *= smoothstep(1.0, 0.62, r);
|
|
finalColor = vec4(col * colDiffuse.rgb,
|
|
a * colDiffuse.a * uIntensity * uTint.a);
|
|
}
|