diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-04-09 03:31:46 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-04-09 03:31:46 +0200 |
commit | 519218572a1303f6717bbc2cccc45d0c8a272d33 (patch) | |
tree | 50ae3120394891b6810ede249c8a71811c0591bc /src/extras/custompipes_gl.cpp | |
parent | Merge branch 'miami' into lcs (diff) | |
parent | update librw (diff) | |
download | re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.gz re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.bz2 re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.lz re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.xz re3-519218572a1303f6717bbc2cccc45d0c8a272d33.tar.zst re3-519218572a1303f6717bbc2cccc45d0c8a272d33.zip |
Diffstat (limited to 'src/extras/custompipes_gl.cpp')
-rw-r--r-- | src/extras/custompipes_gl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extras/custompipes_gl.cpp b/src/extras/custompipes_gl.cpp index 5d24070a..e70bd6db 100644 --- a/src/extras/custompipes_gl.cpp +++ b/src/extras/custompipes_gl.cpp @@ -358,7 +358,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); @@ -738,7 +738,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); @@ -747,7 +747,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); |