Shifts the verts used to match the fullscreen quad setup of vector light, utilizing FarFrustuQuadVerts

This commit is contained in:
Areloch 2019-01-30 13:52:59 -06:00
parent eb7dd20253
commit 54a64c0d82
4 changed files with 27 additions and 87 deletions

View file

@ -265,7 +265,8 @@ protected:
/// The current active light manager.
static RenderProbeMgr *smProbeManager;
GFXVertexBufferHandle<GFXVertexPC> mFarFrustumQuadVerts;
typedef GFXVertexPNTT FarFrustumQuadVert;
GFXVertexBufferHandle<FarFrustumQuadVert> mFarFrustumQuadVerts;
/// This helper function sets the shader constansts
/// for the stock 4 light forward lighting code.