Deferred Shading update
-Deferred Shading now use a dynamics pass system -Forward Shading is now capable of rendering more than three lights (Multipass) Former-commit-id: 74ed0b998d72aa9eb3bd2aab938a75985ebb2bf6
This commit is contained in:
28
include/Nazara/Graphics/DeferredForwardPass.hpp
Normal file
28
include/Nazara/Graphics/DeferredForwardPass.hpp
Normal file
@@ -0,0 +1,28 @@
|
||||
// Copyright (C) 2013 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Graphics module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_DEFERREDFORWARDPASS_HPP
|
||||
#define NAZARA_DEFERREDFORWARDPASS_HPP
|
||||
|
||||
#include <Nazara/Prerequesites.hpp>
|
||||
#include <Nazara/Graphics/DeferredRenderPass.hpp>
|
||||
|
||||
class NzForwardRenderTechnique;
|
||||
|
||||
class NAZARA_API NzDeferredForwardPass : public NzDeferredRenderPass
|
||||
{
|
||||
public:
|
||||
NzDeferredForwardPass();
|
||||
virtual ~NzDeferredForwardPass();
|
||||
|
||||
void Initialize(NzDeferredRenderTechnique* technique);
|
||||
bool Process(const NzScene* scene, unsigned int workTexture, unsigned sceneTexture) const;
|
||||
|
||||
protected:
|
||||
const NzForwardRenderTechnique* m_forwardTechnique;
|
||||
};
|
||||
|
||||
#endif // NAZARA_DEFERREDFORWARDPASS_HPP
|
||||
Reference in New Issue
Block a user