mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-14 16:14:38 +00:00
Fix paths in caustics shader
This commit is contained in:
parent
0c29847943
commit
b6d7fdd7bd
2 changed files with 3 additions and 3 deletions
|
|
@ -36,10 +36,10 @@ singleton GFXStateBlockData( PFX_CausticsStateBlock : PFX_DefaultStateBlock )
|
||||||
singleton ShaderData( PFX_CausticsShader )
|
singleton ShaderData( PFX_CausticsShader )
|
||||||
{
|
{
|
||||||
DXVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.hlsl";
|
DXVertexShaderFile = $Core::CommonShaderPath @ "/postFX/postFxV.hlsl";
|
||||||
DXPixelShaderFile = "./causticsP.hlsl";
|
DXPixelShaderFile = "./CausticsPostFXP.hlsl";
|
||||||
|
|
||||||
OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFX/gl/postFxV.glsl";
|
OGLVertexShaderFile = $Core::CommonShaderPath @ "/postFX/gl/postFxV.glsl";
|
||||||
OGLPixelShaderFile = "./causticsP.glsl";
|
OGLPixelShaderFile = "./CausticsPostFXP.glsl";
|
||||||
|
|
||||||
samplerNames[0] = "$deferredTex";
|
samplerNames[0] = "$deferredTex";
|
||||||
samplerNames[1] = "$causticsTex0";
|
samplerNames[1] = "$causticsTex0";
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@
|
||||||
// IN THE SOFTWARE.
|
// IN THE SOFTWARE.
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
#include "core/rendering/shaders/postFx.hlsl"
|
#include "core/rendering/shaders/postFX/postFx.hlsl"
|
||||||
#include "core/rendering/shaders/shaderModelAutoGen.hlsl"
|
#include "core/rendering/shaders/shaderModelAutoGen.hlsl"
|
||||||
|
|
||||||
uniform float accumTime;
|
uniform float accumTime;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue