mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 19:08:58 +00:00
sun reflection fix
This commit is contained in:
parent
a9935dcd45
commit
878ffa8998
1 changed files with 2 additions and 2 deletions
|
@ -604,8 +604,8 @@ CCoronas::RenderSunReflection(void)
|
||||||
|
|
||||||
RwIm3DVertexSetRGBA(&TempBufferRenderVertices[TempBufferVerticesStored+1], r, g, b, 255);
|
RwIm3DVertexSetRGBA(&TempBufferRenderVertices[TempBufferVerticesStored+1], r, g, b, 255);
|
||||||
RwIm3DVertexSetPos(&TempBufferRenderVertices[TempBufferVerticesStored+1],
|
RwIm3DVertexSetPos(&TempBufferRenderVertices[TempBufferVerticesStored+1],
|
||||||
sunPos.x + fwdLen*sunDir.x - sideLen*sunDir.x,
|
sunPos.x + fwdLen*sunDir.x - sideLen*sunDir.y,
|
||||||
sunPos.y + fwdLen*sunDir.y + sideLen*sunDir.y,
|
sunPos.y + fwdLen*sunDir.y + sideLen*sunDir.x,
|
||||||
sunPos.z);
|
sunPos.z);
|
||||||
|
|
||||||
RwIm3DVertexSetU(&TempBufferRenderVertices[TempBufferVerticesStored+0], 0.0f);
|
RwIm3DVertexSetU(&TempBufferRenderVertices[TempBufferVerticesStored+0], 0.0f);
|
||||||
|
|
Loading…
Reference in a new issue