Reunited Deferred Point Shader and Spot Shader

Former-commit-id: 0a77f57d8af98387690748102f6cdcea5d5514ed
This commit is contained in:
Lynix
2014-01-11 10:21:33 +01:00
parent 16578e728f
commit cbce6e6e64
8 changed files with 47 additions and 160 deletions

View File

@@ -31,12 +31,13 @@ class NAZARA_API NzDeferredPhongLightingPass : public NzDeferredRenderPass
NzMeshRef m_cone;
NzMeshRef m_sphere;
NzShaderProgramRef m_directionalLightProgram;
NzShaderProgramRef m_pointLightProgram;
NzShaderProgramRef m_spotLightProgram;
NzShaderProgramRef m_pointSpotLightProgram;
NzTextureSampler m_pointSampler;
NzStaticMesh* m_coneMesh;
NzStaticMesh* m_sphereMesh;
bool m_lightMeshesDrawing;
int m_pointSpotLightProgramDiscardLocation;
int m_pointSpotLightProgramSpotLightLocation;
};
#endif // NAZARA_DEFERREDPHONGLIGHTINGPASS_HPP