7 #ifndef NAZARA_DEFERREDPHONGLIGHTINGPASS_HPP 8 #define NAZARA_DEFERREDPHONGLIGHTINGPASS_HPP 10 #include <Nazara/Prerequesites.hpp> 11 #include <Nazara/Graphics/DeferredRenderPass.hpp> 12 #include <Nazara/Graphics/Light.hpp> 13 #include <Nazara/Renderer/Shader.hpp> 14 #include <Nazara/Renderer/TextureSampler.hpp> 15 #include <Nazara/Utility/Mesh.hpp> 27 void EnableLightMeshesDrawing(
bool enable);
29 bool IsLightMeshesDrawingEnabled()
const;
31 bool Process(
const SceneData& sceneData,
unsigned int firstWorkTexture,
unsigned int secondWorkTexture)
const override;
34 LightUniforms m_directionalLightUniforms;
35 LightUniforms m_pointSpotLightUniforms;
40 TextureSampler m_pointSampler;
41 StaticMesh* m_coneMesh;
42 StaticMesh* m_sphereMesh;
43 bool m_lightMeshesDrawing;
44 int m_directionalLightShaderEyePositionLocation;
45 int m_directionalLightShaderSceneAmbientLocation;
46 int m_pointSpotLightShaderDiscardLocation;
47 int m_pointSpotLightShaderEyePositionLocation;
48 int m_pointSpotLightShaderSceneAmbientLocation;
52 #endif // NAZARA_DEFERREDPHONGLIGHTINGPASS_HPP TODO: Inherit SoundEmitter from Node.
Definition: Algorithm.hpp:12
Graphics class that represents the pass for rendering in deferred rendering.
Definition: DeferredRenderPass.hpp:22
Graphics class that represents the pass for phong lighting in deferred rendering. ...
Definition: DeferredPhongLightingPass.hpp:21