summaryrefslogtreecommitdiffstats
path: root/src/extras/custompipes_gl.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-03-02 22:22:24 +0100
committerSergeanur <s.anureev@yandex.ua>2021-06-24 20:32:43 +0200
commitf2b59f5097366af964c65824c1e2fd0779d07eed (patch)
tree786696744924aed4b6fe9c55d3e7706388fc5412 /src/extras/custompipes_gl.cpp
parentFix FPE (diff)
downloadre3-f2b59f5097366af964c65824c1e2fd0779d07eed.tar
re3-f2b59f5097366af964c65824c1e2fd0779d07eed.tar.gz
re3-f2b59f5097366af964c65824c1e2fd0779d07eed.tar.bz2
re3-f2b59f5097366af964c65824c1e2fd0779d07eed.tar.lz
re3-f2b59f5097366af964c65824c1e2fd0779d07eed.tar.xz
re3-f2b59f5097366af964c65824c1e2fd0779d07eed.tar.zst
re3-f2b59f5097366af964c65824c1e2fd0779d07eed.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 23a2a931..2b28cb52 100644
--- a/src/extras/custompipes_gl.cpp
+++ b/src/extras/custompipes_gl.cpp
@@ -154,7 +154,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);
@@ -515,7 +515,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);
@@ -524,7 +524,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);