diff options
| author | yum <yum.food.vr@gmail.com> | 2025-11-02 11:21:02 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2025-11-02 11:21:02 -0800 |
| commit | 7fd93cd70100e0636ffae430a7ab1904788fb5f3 (patch) | |
| tree | ed9d67e4d850186ed4b18f13d5d4dfef5b043fcc /globals.cginc | |
| parent | 93f27e3a8545fef6ccc293d033e5f422ed821215 (diff) | |
raymarching tweaks + add overstepping
Diffstat (limited to 'globals.cginc')
| -rw-r--r-- | globals.cginc | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/globals.cginc b/globals.cginc index 92fe8fd..533e102 100644 --- a/globals.cginc +++ b/globals.cginc @@ -120,13 +120,25 @@ float getTime() { #endif // _LOGICAL_TIME } +#if defined(_RAY_MARCHING) +float _Ray_Marching_Max_Dist; +float _Ray_Marching_Min_Dist; +float _Ray_Marching_Max_Iter; +#endif // _RAY_MARCHING + +#if defined(_RAY_MARCHING_OVERSTEP) +float _Ray_Marching_Overstepping_Factor; +#endif // _RAY_MARCHING_OVERSTEP + #if defined(_RAY_MARCHING_BAKED_ORIGINS) int _Baked_Origins_UV_Channel_Index; #endif // _RAY_MARCHING_BAKED_ORIGINS #if defined(_RAY_MARCHING_BALL_GRID) float _Ray_Marching_Ball_Grid_Radius; -float _Ray_Marching_Ball_Grid_Count; +float _Ray_Marching_Ball_Grid_Count_X; +float _Ray_Marching_Ball_Grid_Count_Y; +float _Ray_Marching_Ball_Grid_Count_Z; #endif // _RAY_MARCHING_BALL_GRID #endif // __GLOBALS_INC |
