Merge pull request #349 from lukaspj/fix/caustics-shader-paths

Fix paths in caustics shader
This commit is contained in:
Brian Roberts 2020-10-04 17:57:45 -05:00 committed by GitHub
commit 605591b315
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -36,10 +36,10 @@ singleton GFXStateBlockData( PFX_CausticsStateBlock : PFX_DefaultStateBlock )
singleton ShaderData( PFX_CausticsShader )
{
DXVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.hlsl";
DXPixelShaderFile = "./causticsP.hlsl";
DXPixelShaderFile = "./CausticsPostFXP.hlsl";
OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFX/gl/postFxV.glsl";
OGLPixelShaderFile = "./causticsP.glsl";
OGLPixelShaderFile = "./CausticsPostFXP.glsl";
samplerNames[0] = "$deferredTex";
samplerNames[1] = "$causticsTex0";

View file

@ -20,7 +20,7 @@
// IN THE SOFTWARE.
//-----------------------------------------------------------------------------
#include "core/rendering/shaders/postFx.hlsl"
#include "core/rendering/shaders/postFX/postFx.hlsl"
#include "core/rendering/shaders/shaderModelAutoGen.hlsl"
uniform float accumTime;