Merged in ptolemy_linden/ptolemy-viewer-eep (pull request #507)

SL-11406: Skip avatars being effected.

Approved-by: Dave Houlton <euclid@lindenlab.com>
master
Dave Houlton 2019-12-11 23:02:24 +00:00
commit bc06a9acf9
1 changed files with 4 additions and 0 deletions

View File

@ -292,8 +292,12 @@ void main()
// We remap the environment intensity to closely simulate what non-EEP is doing.
// At midnight the brightness is exact.
// At midday the brightness is very close.
#ifdef HAS_SKIN
vec4 final_normal = vec4(abnormal, env_intensity, 0.0);
#else
float ei = env_intensity*0.5 + 0.5;
vec4 final_normal = vec4(abnormal, ei, 0.0);
#endif
vec4 final_specular = spec;
final_specular.a = specular_color.a;