mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-02-18 09:51:50 +00:00
missed a spot.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4839 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
09196f3d14
commit
8d81ed4a49
2 changed files with 2 additions and 2 deletions
|
@ -1202,7 +1202,7 @@ YOU SHOULD NOT EDIT THIS FILE BY HAND
|
||||||
"vec4 specs = texture2D(s_specular, tc);\n"
|
"vec4 specs = texture2D(s_specular, tc);\n"
|
||||||
"#ifdef DELUXE\n"
|
"#ifdef DELUXE\n"
|
||||||
//not lightstyled...
|
//not lightstyled...
|
||||||
"vec3 halfdir = normalize(normalize(eyevector) + 2.0*(texture2D(s_delux0, lm).rgb-0.5)); //this norm should be the deluxemap info instead\n"
|
"vec3 halfdir = normalize(normalize(eyevector) + 2.0*(texture2D(s_delux0, lm0).rgb-0.5)); //this norm should be the deluxemap info instead\n"
|
||||||
"#else\n"
|
"#else\n"
|
||||||
"vec3 halfdir = normalize(normalize(eyevector) + vec3(0.0, 0.0, 1.0)); //this norm should be the deluxemap info instead\n"
|
"vec3 halfdir = normalize(normalize(eyevector) + vec3(0.0, 0.0, 1.0)); //this norm should be the deluxemap info instead\n"
|
||||||
"#endif\n"
|
"#endif\n"
|
||||||
|
|
|
@ -164,7 +164,7 @@ void main ()
|
||||||
vec4 specs = texture2D(s_specular, tc);
|
vec4 specs = texture2D(s_specular, tc);
|
||||||
#ifdef DELUXE
|
#ifdef DELUXE
|
||||||
//not lightstyled...
|
//not lightstyled...
|
||||||
vec3 halfdir = normalize(normalize(eyevector) + 2.0*(texture2D(s_delux0, lm).rgb-0.5)); //this norm should be the deluxemap info instead
|
vec3 halfdir = normalize(normalize(eyevector) + 2.0*(texture2D(s_delux0, lm0).rgb-0.5)); //this norm should be the deluxemap info instead
|
||||||
#else
|
#else
|
||||||
vec3 halfdir = normalize(normalize(eyevector) + vec3(0.0, 0.0, 1.0)); //this norm should be the deluxemap info instead
|
vec3 halfdir = normalize(normalize(eyevector) + vec3(0.0, 0.0, 1.0)); //this norm should be the deluxemap info instead
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue