You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
threewright-shaders references/hit-effects-tsl.md: the six hit-effect recipes (shield, capsule bullet holes, depth-Laplacian outline as a RenderPipeline output, nested beam, black hole, octave-offset fbm) in TSL for WebGPURenderer. Every block is in tests/fixtures/pages/hit-fx-tsl; a unit test keeps them identical and a browser test runs tw check on it (WebGPU backend, no errors, pixels drawn).
Shield overcharge veins in both GLSL and TSL: thin lightning lines where sin-warped fbm crosses its middle value, driven by uOvercharge / overcharge. Idea from sloppysteaks69/GPU-Bandits (no licence); written fresh.
Noted in the TSL file: vec3(new Color()) renders black, use color().