mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 21:41:03 +00:00
Fix sky dome getting randomly influenced by the lightmaps
This commit is contained in:
parent
1cc0dec8dd
commit
9d197e848d
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue