Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commitdd348ac6c3

README.md

ssr_common

The screen-space reflection passes' shared ground: the view-space reconstruction from depth, the ray-to-screen projection the march steps along, the GGX lobe helpers (distribution, masking, visible-normal sampling and its density), the octahedral direction coding, the per-pixel noise, the camera and surface reconstruction both passes read, and the constants that fix the lobe sampling (the mirror roughness, the hand-over width, the neighbourhood radius, the history weight).

Included with #include "@builtin::systems.reflections.ssr_common" by a shader that declares the bindings frame_cam, scene_depth, scene_normal, scene_material and ssr_params and includes shaderModules.gbuffer_material.