From 7b9b8388333afacc33c7c173f8ad41e42b13a88a Mon Sep 17 00:00:00 2001 From: imdex Date: Sun, 16 Apr 2017 23:01:37 +0300 Subject: [PATCH] Fixed skybox stretching --- code/engine/xrRenderCommon/dxEnvironmentRender.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/engine/xrRenderCommon/dxEnvironmentRender.cpp b/code/engine/xrRenderCommon/dxEnvironmentRender.cpp index 8a3a24bd3..60c0384ee 100644 --- a/code/engine/xrRenderCommon/dxEnvironmentRender.cpp +++ b/code/engine/xrRenderCommon/dxEnvironmentRender.cpp @@ -17,10 +17,10 @@ static Fvector3 hbox_verts[24] = { 1.f, -1.f, -1.f}, { 1.f, -1.01f, -1.f}, // down {-1.f, -1.f, 1.f}, {-1.f, -1.01f, 1.f}, // down { 1.f, -1.f, 1.f}, { 1.f, -1.01f, 1.f}, // down - {-1.f, 2.f, -1.f}, {-1.f, 1.f, -1.f}, - { 1.f, 2.f, -1.f}, { 1.f, 1.f, -1.f}, - {-1.f, 2.f, 1.f}, {-1.f, 1.f, 1.f}, - { 1.f, 2.f, 1.f}, { 1.f, 1.f, 1.f}, + {-1.f, 1.f, -1.f}, {-1.f, 1.f, -1.f}, + { 1.f, 1.f, -1.f}, { 1.f, 1.f, -1.f}, + {-1.f, 1.f, 1.f}, {-1.f, 1.f, 1.f}, + { 1.f, 1.f, 1.f}, { 1.f, 1.f, 1.f}, {-1.f, 0.f, -1.f}, {-1.f, -1.f, -1.f}, // half { 1.f, 0.f, -1.f}, { 1.f, -1.f, -1.f}, // half { 1.f, 0.f, 1.f}, { 1.f, -1.f, 1.f}, // half