fuckingtech/public/assets/glsl/lygia/lighting/raymarch/map.hlsl
Elias Rhouzlane bf76c6b086 fix: code
2025-04-06 17:23:52 +02:00

24 lines
No EOL
493 B
HLSL

#include "../material.hlsl"
#include "../medium.hlsl"
/*
contributors: Inigo Quiles
description: Map of SDF functions to be declare
use: <float4> raymarchMap( in <float3> pos )
*/
#ifndef RAYMARCH_MAP_FNC
#define RAYMARCH_MAP_FNC raymarchMap
#endif
#ifndef RAYMARCH_VOLUME_MAP_FNC
#define RAYMARCH_VOLUME_MAP_FNC raymarchVolumeMap
#endif
#ifndef FNC_RAYMARCH_MAP
#define FNC_RAYMARCH_MAP
Material RAYMARCH_MAP_FNC( in float3 pos );
Medium RAYMARCH_VOLUME_MAP_FNC(in float3 pos);
#endif