Skip to content

Instantly share code, notes, and snippets.

View pragma37's full-sized avatar

Miguel Pozo pragma37

View GitHub Profile
@h3r2tic
h3r2tic / raymarch.hlsl
Last active July 19, 2024 21:46
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"