support SPOT without PCF.

don't spam about SPECULAR.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4158 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2012-12-04 17:09:00 +00:00
parent 0b4d06b4ff
commit 472710d177

View file

@ -1,5 +1,4 @@
!!permu BUMP
!!permu SPECULAR
!!permu SKELETAL
!!permu FOG
!!cvarf r_glsl_offsetmapping_scale
@ -24,7 +23,8 @@ varying vec3 lightvector;
#if defined(SPECULAR) || defined(OFFSETMAPPING)
varying vec3 eyevector;
#endif
#if defined(PCF) || defined(CUBEPROJ)
#if defined(PCF) || defined(CUBEPROJ) || defined(SPOT)
varying vec4 vtexprojcoord;
uniform mat4 l_cubematrix;
#ifndef SPOT