Log inGet started
Package

ssr_common.shaderModule

Newest version

This package holds more than this page lists. See all of its files in its world.

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 and the frame it is turned to, 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, frame_clock, scene_depth, scene_normal, scene_material, ssr_params and history_state (the feature's history target's state buffer) and includes shaderModules.gbuffer_material.