rea-analysis-optimization
MOmorluto/rea486k8,943 new stars in the last 7 days
Implement a production GTAO path in Three.js. Use for native WebGPU/TSL GTAONode wired through builtinAOContext, half-resolution horizon sampling, reversed-depth reconstruction, bent-normal encoding, full-resolution bilateral reconstruction, masking sky and water to prevent horizon barcodes, contact grounding, and halo diagnosis.
AO estimates local ambient contact visibility. It must modulate indirect lighting only — never direct sun, practical lights, sky, water, or emissive surfaces.
reversedDepthBuffer: true on WebGPURenderer) and verify linear depth and view-space normals.1.0 before far depth quantizes.normalView pre-pass → GTAONode (ao()) → scenePass.contextNode = builtinAOContext(...) modulating indirect/ambient light directly.radius and thickness in world metres to actual contact features (0.4–2.5 m) — never crank radius to fake room-scale GI.Read references/tsl-gtao-and-horizon-safety.md for the native WebGPU/TSL GTAONode + builtinAOContext setup, horizon-barcode prevention, world-scale sizing, and AO-vs-GI boundaries.
Read references/gtao-bent-normal-pipeline.md for the custom half-resolution horizon-sampling math, bent-normal heuristic validation, bilateral upsample kernel, and indirect-reconstruction composite.
This skill owns small-scale contact GTAO, bent normals, bilateral denoising, horizon-safe distance fading, and indirect-only AO application. Use $threejs-lighting-and-gi for room/alcove-scale occluded indirect light (LightProbeGrid) and reflections; $threejs-spectral-ocean for water-side horizon barcode checks; $threejs-temporal-stability for motion-grain audits; and $threejs-image-pipeline only when depth/normal buffers or pass order must be coordinated across multiple image-space systems.
MOmorluto/rea486k8,943 new stars in the last 7 days
Diagnose hard bugs and performance regressions by building a feedback loop with tests or scripts.
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days
MAmattpocock/skills337k4,978 new stars in the last 7 days