summaryrefslogtreecommitdiffstats
path: root/src/extras/postfx.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-02-08 11:21:53 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-02-08 11:21:53 +0100
commit0eb191371388e5b25fbc957ca928c457fc544b21 (patch)
treeb3203e68d3f74c005d2fe0689bce7cf3240dd713 /src/extras/postfx.cpp
parentDon't show menu map and new languages if gamefiles isn't copied (diff)
parentreorganize shaders; use modulate flag; update librw (diff)
downloadre3-0eb191371388e5b25fbc957ca928c457fc544b21.tar
re3-0eb191371388e5b25fbc957ca928c457fc544b21.tar.gz
re3-0eb191371388e5b25fbc957ca928c457fc544b21.tar.bz2
re3-0eb191371388e5b25fbc957ca928c457fc544b21.tar.lz
re3-0eb191371388e5b25fbc957ca928c457fc544b21.tar.xz
re3-0eb191371388e5b25fbc957ca928c457fc544b21.tar.zst
re3-0eb191371388e5b25fbc957ca928c457fc544b21.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 51b91060..b94d245d 100644
--- a/src/extras/postfx.cpp
+++ b/src/extras/postfx.cpp
@@ -141,16 +141,16 @@ CPostFX::Open(RwCamera *cam)
#ifdef RW_D3D9
-#include "shaders/colourfilterIII_PS.inc"
+#include "shaders/obj/colourfilterIII_PS.inc"
colourfilterIII_PS = rw::d3d::createPixelShader(colourfilterIII_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/colourfilterIII_fs_gl.inc"
+#include "shaders/obj/im2d_vert.inc"
+#include "shaders/obj/colourfilterIII_frag.inc"
const char *vs[] = { shaderDecl, header_vert_src, im2d_vert_src, nil };
const char *fs[] = { shaderDecl, header_frag_src, colourfilterIII_frag_src, nil };
colourFilterIII = Shader::create(vs, fs);
@@ -158,8 +158,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);