Fix sky dome getting randomly influenced by the lightmaps
This commit is contained in:
parent
4e7e1d772b
commit
c282c47812
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.z = pos.Y;
|
||||
|
||||
vert.lindex = -1;
|
||||
|
||||
mVertices.Push(vert);
|
||||
}
|
||||
|
||||
|
|
@ -210,6 +212,8 @@ void FSkyVertexBuffer::SkyVertexBuild(int r, int c, bool zflip)
|
|||
vert.y = z - 1.f;
|
||||
vert.z = pos.Y;
|
||||
|
||||
vert.lindex = -1;
|
||||
|
||||
mVertices.Push(vert);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue