summaryrefslogtreecommitdiffstats
path: root/custom30.cginc
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2025-06-05 19:42:36 -0700
committeryum <yum.food.vr@gmail.com>2025-06-05 19:42:36 -0700
commit8b7ae8db808d76ddea503f94e142c7d37c1b43d3 (patch)
tree9c60f09943b314d47bd5f8df732465831d5a566d /custom30.cginc
parent50b0b6c8b292e966a43fe56c6e0bf0a20c1d5b62 (diff)
more work on fog & c30
Diffstat (limited to 'custom30.cginc')
-rw-r--r--custom30.cginc3
1 files changed, 3 insertions, 0 deletions
diff --git a/custom30.cginc b/custom30.cginc
index 2bf8ec2..56392d6 100644
--- a/custom30.cginc
+++ b/custom30.cginc
@@ -277,6 +277,9 @@ float BasicPlatform_map(float3 p) {
#if defined(_CUSTOM30_BASICPLATFORM_Y_ALIGNED)
p.xy = p.yx;
#endif
+ #if defined(_CUSTOM30_BASICPLATFORM_VERTICAL)
+ p.xz = p.zx;
+ #endif
float3 platform_size = _Custom30_BasicPlatform_Size;
float box_d = distance_from_box_frame(p, platform_size, _Custom30_BasicPlatform_Frame_D);