Skip to content
Snippets Groups Projects
Commit 874368d4 authored by Michael Pohoreski (Ptolemy Linden)'s avatar Michael Pohoreski (Ptolemy Linden)
Browse files

Future-proof Full Bright

parent 581a8e27
No related branches found
No related tags found
No related merge requests found
...@@ -277,7 +277,7 @@ void main() ...@@ -277,7 +277,7 @@ void main()
final_color.a = max(final_color.a, emissive_brightness); final_color.a = max(final_color.a, emissive_brightness);
// Texture // Texture
// [x] Full Bright (emissive_brightness > 0.0) // [x] Full Bright (emissive_brightness >= 1.0)
// Shininess (specular) // Shininess (specular)
// [X] Texture // [X] Texture
// Environment Intensity = 1 // Environment Intensity = 1
...@@ -295,7 +295,7 @@ void main() ...@@ -295,7 +295,7 @@ void main()
vec4 final_normal = vec4(abnormal, env_intensity, 0.0); vec4 final_normal = vec4(abnormal, env_intensity, 0.0);
#ifdef HAS_SPECULAR_MAP #ifdef HAS_SPECULAR_MAP
if( emissive_brightness > 0.0) if( emissive_brightness >= 1.0)
{ {
float ei = env_intensity*0.5 + 0.5; float ei = env_intensity*0.5 + 0.5;
final_normal = vec4(abnormal, ei, 0.0); final_normal = vec4(abnormal, ei, 0.0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment