Skip to content

Instantly share code, notes, and snippets.

View ssylvan's full-sized avatar

Sebastian Sylvan ssylvan

View GitHub Profile
@h3r2tic
h3r2tic / raymarch.hlsl
Last active March 17, 2025 14:42
Depth buffer raymarching for contact shadows, SSGI, SSR, etc.
// Copyright (c) 2023 Tomasz Stachowiak
//
// This contribution is dual licensed under EITHER OF
//
// Apache License, Version 2.0, (http://www.apache.org/licenses/LICENSE-2.0)
// MIT license (http://opensource.org/licenses/MIT)
//
// at your option.
#include "/inc/frame_constants.hlsl"