summaryrefslogtreecommitdiffstats
path: root/src/extras/postfx.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-19 11:38:51 +0100
committeraap <aap@papnet.eu>2021-01-19 11:38:51 +0100
commit8baae4c77ff85e6fb1cacd428162804080998069 (patch)
tree63c90940449949019d601f09421e234d734aa576 /src/extras/postfx.cpp
parentfix handbrake (diff)
downloadre3-8baae4c77ff85e6fb1cacd428162804080998069.tar
re3-8baae4c77ff85e6fb1cacd428162804080998069.tar.gz
re3-8baae4c77ff85e6fb1cacd428162804080998069.tar.bz2
re3-8baae4c77ff85e6fb1cacd428162804080998069.tar.lz
re3-8baae4c77ff85e6fb1cacd428162804080998069.tar.xz
re3-8baae4c77ff85e6fb1cacd428162804080998069.tar.zst
re3-8baae4c77ff85e6fb1cacd428162804080998069.zip
Diffstat (limited to 'src/extras/postfx.cpp')
-rw-r--r--src/extras/postfx.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/extras/postfx.cpp b/src/extras/postfx.cpp
index b07b5426..360b4f7a 100644
--- a/src/extras/postfx.cpp
+++ b/src/extras/postfx.cpp
@@ -143,17 +143,17 @@ CPostFX::Open(RwCamera *cam)
#ifdef RW_D3D9
-#include "shaders/colourfilterLCS_PS.inc"
+#include "shaders/obj/colourfilterLCS_PS.inc"
colourfilterLCS_PS = rw::d3d::createPixelShader(colourfilterLCS_PS_cso);
-#include "shaders/contrastPS.inc"
+#include "shaders/obj/contrastPS.inc"
contrast_PS = rw::d3d::createPixelShader(contrastPS_cso);
#endif
#ifdef RW_OPENGL
using namespace rw::gl3;
{
-#include "shaders/im2d_gl.inc"
-#include "shaders/colourfilterLCS_fs_gl.inc"
+#include "shaders/obj/im2d_vert.inc"
+#include "shaders/obj/colourfilterLCS_frag.inc"
const char *vs[] = { shaderDecl, header_vert_src, im2d_vert_src, nil };
const char *fs[] = { shaderDecl, header_frag_src, colourfilterLCS_frag_src, nil };
colourFilterLCS = Shader::create(vs, fs);
@@ -161,8 +161,8 @@ CPostFX::Open(RwCamera *cam)
}
{
-#include "shaders/im2d_gl.inc"
-#include "shaders/contrast_fs_gl.inc"
+#include "shaders/obj/im2d_vert.inc"
+#include "shaders/obj/contrast_frag.inc"
const char *vs[] = { shaderDecl, header_vert_src, im2d_vert_src, nil };
const char *fs[] = { shaderDecl, header_frag_src, contrast_frag_src, nil };
contrast = Shader::create(vs, fs);