water_sky.shader
- .metadata17 B
- README.md821 B
- properties.yaml487 B
- shader.wgsl2.5 KB
README.md
water_sky
Abyssal Garden, engine-drawn: the water around the camera as the scene's sky material (sky domain). It evaluates the original's background and water surface (abyssal/draw/surf.rasterShader) along each view ray with the original's water optics: sunlight scattered into the water toward the eye over the distance the ray travels, and looking up the underside of the surface at y = 0 — Snell's window with the sun through it, total internal reflection outside it — seen through that water (the surface's animated ripples are left out). As the engine's sky it is also the light of the surroundings the engine's ambient, sky light and global illumination take. Properties: openness (the original's skylight reading at the camera), distance (how far the water reaches before the background), exposure.