Skip to content

Commit

Permalink
ogre 14 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Jun 10, 2023
1 parent 30965c8 commit f8b3c06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bin/media/shaders/Default_fp.glsl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#define USE_OGRE_FROM_FUTURE
#include <OgreUnifiedShader.h>

uniform SAMPLER2D(texMap, 0);
SAMPLER2D(texMap, 0);

uniform vec4 fogColour;
uniform vec4 fogParams;
Expand Down
1 change: 0 additions & 1 deletion examples/Example11.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ void PGSampleApp::configureShadows(bool enabled, bool depthShadows)
mSceneMgr->setShadowTextureCasterMaterial(MaterialPtr());
}

matProfile->setReceiveDynamicShadowsDepth(depthShadows);
matProfile->setReceiveDynamicShadowsPSSM(static_cast<PSSMShadowCameraSetup*>(mPSSMSetup.get()));

//addTextureShadowDebugOverlay(TL_RIGHT, 3);
Expand Down

0 comments on commit f8b3c06

Please sign in to comment.