summaryrefslogtreecommitdiffstats
path: root/src/extras/custompipes_gl.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-03-02 22:22:35 +0100
committeraap <aap@papnet.eu>2021-03-02 22:23:05 +0100
commitceb22d71dd3243e80144b3a956ae371409dda90d (patch)
treea7e40a7a5f5cd3fa99c2958466f5925a31872daa /src/extras/custompipes_gl.cpp
parentFix FPEs (diff)
downloadre3-ceb22d71dd3243e80144b3a956ae371409dda90d.tar
re3-ceb22d71dd3243e80144b3a956ae371409dda90d.tar.gz
re3-ceb22d71dd3243e80144b3a956ae371409dda90d.tar.bz2
re3-ceb22d71dd3243e80144b3a956ae371409dda90d.tar.lz
re3-ceb22d71dd3243e80144b3a956ae371409dda90d.tar.xz
re3-ceb22d71dd3243e80144b3a956ae371409dda90d.tar.zst
re3-ceb22d71dd3243e80144b3a956ae371409dda90d.zip
Diffstat (limited to '')
-rw-r--r--src/extras/custompipes_gl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extras/custompipes_gl.cpp b/src/extras/custompipes_gl.cpp
index fd68c743..d74e40db 100644
--- a/src/extras/custompipes_gl.cpp
+++ b/src/extras/custompipes_gl.cpp
@@ -155,7 +155,7 @@ CreateVehiclePipe(void)
{
#include "shaders/obj/neoVehicle_frag.inc"
#include "shaders/obj/neoVehicle_vert.inc"
- const char *vs[] = { shaderDecl, header_vert_src, neoVehicle_vert_src, nil };
+ const char *vs[] = { shaderDecl, "#define DIRECTIONALS\n", header_vert_src, neoVehicle_vert_src, nil };
const char *fs[] = { shaderDecl, header_frag_src, neoVehicle_frag_src, nil };
neoVehicleShader = Shader::create(vs, fs);
assert(neoVehicleShader);
@@ -516,7 +516,7 @@ CreateRimLightPipes(void)
{
#include "shaders/obj/simple_frag.inc"
#include "shaders/obj/neoRimSkin_vert.inc"
- const char *vs[] = { shaderDecl, header_vert_src, neoRimSkin_vert_src, nil };
+ const char *vs[] = { shaderDecl, "#define DIRECTIONALS\n", header_vert_src, neoRimSkin_vert_src, nil };
const char *fs[] = { shaderDecl, header_frag_src, simple_frag_src, nil };
neoRimSkinShader = Shader::create(vs, fs);
assert(neoRimSkinShader);
@@ -525,7 +525,7 @@ CreateRimLightPipes(void)
{
#include "shaders/obj/simple_frag.inc"
#include "shaders/obj/neoRim_vert.inc"
- const char *vs[] = { shaderDecl, header_vert_src, neoRim_vert_src, nil };
+ const char *vs[] = { shaderDecl, "#define DIRECTIONALS\n", header_vert_src, neoRim_vert_src, nil };
const char *fs[] = { shaderDecl, header_frag_src, simple_frag_src, nil };
neoRimShader = Shader::create(vs, fs);
assert(neoRimShader);