threejs-raymarched-space-effects
Installation
SKILL.md
Raymarched Space Effects
Treat these effects as numerical renderers with explicit integration state. The visual character depends on coordinate choice, step policy, and how rays interact with emissive structures.
This skill contains exemplary examples and assets beyond descriptive guidance, they're worth studying, referencing, or even copying. Use them sufficiently when relevant and do NOT blindly skip them.
Workflow
- Define the effect-space transform and camera ray.
- Choose a physical, physically inspired, or purely artistic bending model.
- Bound the integration domain.
- Track ray position, direction, throughput, and accumulated radiance.
- Detect crossings with disks, shells, throats, or event boundaries.
- Sample the background only after integration terminates, filtered by the ray-bundle footprint rather than point sampled.
- Add diagnostics for trajectory, step count, and termination reason.