From 23a09333d22d73edd86ec3c560e7e8734ac4a2e4 Mon Sep 17 00:00:00 2001 From: Azaezel Date: Tue, 19 Feb 2019 14:17:52 -0600 Subject: [PATCH] no need to z flip the diffuse box dx side. may need to gl side --- .../shaders/common/lighting/advanced/reflectionProbeArrayP.hlsl | 1 - 1 file changed, 1 deletion(-) diff --git a/Templates/Full/game/shaders/common/lighting/advanced/reflectionProbeArrayP.hlsl b/Templates/Full/game/shaders/common/lighting/advanced/reflectionProbeArrayP.hlsl index a329e23f3..6b8b09b12 100644 --- a/Templates/Full/game/shaders/common/lighting/advanced/reflectionProbeArrayP.hlsl +++ b/Templates/Full/game/shaders/common/lighting/advanced/reflectionProbeArrayP.hlsl @@ -56,7 +56,6 @@ float3 boxProject(float3 wsPosition, float3 wsEyeRay, float3 reflectDir, float3 float3 iblBoxDiffuse( Surface surface, int id) { float3 cubeN = boxProject(surface.P, surface.V, surface.R, inRefPosArray[id].xyz, bbMinArray[id].xyz, bbMaxArray[id].xyz); - cubeN.z *=-1; return TORQUE_TEXCUBEARRAYLOD(irradianceCubemapAR,cubeN,id,0).xyz; }