Graphics: Add shadow mapping
Former-commit-id: ca404bee246991eab98df35396e3010ec5165c43
This commit is contained in:
@@ -14,9 +14,6 @@
|
||||
#include <Nazara/Renderer/RenderTexture.hpp>
|
||||
#include <Nazara/Renderer/Texture.hpp>
|
||||
|
||||
class NzLight;
|
||||
struct NzLightUniforms;
|
||||
|
||||
class NAZARA_GRAPHICS_API NzLight : public NzRenderable
|
||||
{
|
||||
public:
|
||||
@@ -101,9 +98,13 @@ struct NzLightUniforms
|
||||
int type;
|
||||
int color;
|
||||
int factors;
|
||||
int lightViewProjMatrix;
|
||||
int parameters1;
|
||||
int parameters2;
|
||||
int parameters3;
|
||||
int pointLightShadowMap;
|
||||
int shadowMapping;
|
||||
int spotLightShadowMap;
|
||||
};
|
||||
|
||||
bool ubo;
|
||||
|
||||
Reference in New Issue
Block a user