From 22afc250466ce5123d24a8bace1e10690ad46349 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 12 Jan 2022 00:20:04 +0100 Subject: [PATCH] - fixed floor sprite normals. --- source/core/rendering/scene/hw_flats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/rendering/scene/hw_flats.cpp b/source/core/rendering/scene/hw_flats.cpp index 4b35b8d42..8c0a7b668 100644 --- a/source/core/rendering/scene/hw_flats.cpp +++ b/source/core/rendering/scene/hw_flats.cpp @@ -169,7 +169,7 @@ void HWFlat::MakeVertices(HWDrawInfo* di) else { if (z < di->Viewpoint.Pos.Z) normal = { 0,1,0 }; - normal = { 0, -1, 0 }; + else normal = { 0, -1, 0 }; }