mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
OpenGL2: Let unlit materials use parallax maps.
This commit is contained in:
parent
e022abeebb
commit
29ac117154
1 changed files with 0 additions and 3 deletions
|
@ -1004,9 +1004,6 @@ void GLSL_InitGPUShaders(void)
|
||||||
if ((i & LIGHTDEF_USE_PARALLAXMAP) && !r_parallaxMapping->integer)
|
if ((i & LIGHTDEF_USE_PARALLAXMAP) && !r_parallaxMapping->integer)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (!lightType && (i & LIGHTDEF_USE_PARALLAXMAP))
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if (!lightType && (i & LIGHTDEF_USE_SHADOWMAP))
|
if (!lightType && (i & LIGHTDEF_USE_SHADOWMAP))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue