Fix sky dome getting randomly influenced by the lightmaps

This commit is contained in:
RaveYard 2023-09-16 15:41:43 +02:00 committed by Christoph Oelckers
parent 1cc0dec8dd
commit 9d197e848d

View file

@ -178,6 +178,8 @@ void FSkyVertexBuffer::SkyVertexDoom(int r, int c, bool zflip)
vert.y = z - 1.f; vert.y = z - 1.f;
vert.z = pos.Y; vert.z = pos.Y;
vert.lindex = -1;
mVertices.Push(vert); mVertices.Push(vert);
} }
@ -210,6 +212,8 @@ void FSkyVertexBuffer::SkyVertexBuild(int r, int c, bool zflip)
vert.y = z - 1.f; vert.y = z - 1.f;
vert.z = pos.Y; vert.z = pos.Y;
vert.lindex = -1;
mVertices.Push(vert); mVertices.Push(vert);
} }