- moved VR code and IntRect to 'common'
This commit is contained in:
parent
4b56714199
commit
686aa9779d
23 changed files with 108 additions and 85 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include "hwrenderer/data/shaderuniforms.h"
|
||||
#include <memory>
|
||||
#include <map>
|
||||
#include "intrect.h"
|
||||
|
||||
struct PostProcessShader;
|
||||
|
||||
|
|
@ -777,15 +778,6 @@ struct ShadowMapUniforms
|
|||
}
|
||||
};
|
||||
|
||||
class PPShadowMap
|
||||
{
|
||||
public:
|
||||
void Update(PPRenderState *renderstate);
|
||||
|
||||
private:
|
||||
PPShader ShadowMap = { "shaders/glsl/shadowmap.fp", "", ShadowMapUniforms::Desc() };
|
||||
};
|
||||
|
||||
class PPCustomShaderInstance
|
||||
{
|
||||
public:
|
||||
|
|
@ -819,6 +811,18 @@ private:
|
|||
std::vector<std::unique_ptr<PPCustomShaderInstance>> mShaders;
|
||||
};
|
||||
|
||||
class PPShadowMap
|
||||
{
|
||||
public:
|
||||
void Update(PPRenderState* renderstate);
|
||||
|
||||
private:
|
||||
PPShader ShadowMap = { "shaders/glsl/shadowmap.fp", "", ShadowMapUniforms::Desc() };
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
class Postprocess
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue