Skip to content

Commit 7d237f9

Browse files
committed
attempt fixing build
1 parent 1a023a6 commit 7d237f9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ZEDCamera/Assets/SDK/Helpers/Shaders/Lighting/ZED_Deferred.shader

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ Properties
6868
o.pos = float4(v.pos.x*2.0, -v.pos.y*2.0, 0, 1);
6969
#elif SHADER_API_VULKAN
7070
o.pos = float4(v.pos.x * 2.0, -v.pos.y * 2.0, 0, 1);
71+
#else
72+
o.pos = float4(v.pos.x*2.0, v.pos.y*2.0, 0, 1);
7173
#endif
7274
o.screenUV = float4(v.pos.x - 0.5, v.pos.y - 0.5, 0, 1);
7375
o.depthUV = float4(v.pos.x + 0.5f, v.pos.y + 0.5f, 0, 1);

ZEDCamera/Assets/SDK/Helpers/Shaders/Lighting/ZED_Forward_Lighting_URP.shader

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ Shader "ZED/ZED Forward Lighting URP"
118118
outDepth = 1000;//fake infinite depth
119119
#elif SHADER_API_VULKAN
120120
outDepth = 0;
121+
#else
122+
outDepth = 0;
121123
#endif
122124
#else
123125
outDepth = computeDepthXYZ(zed_z);

0 commit comments

Comments
 (0)