diff --git a/shaders/mat_colored.frag b/shaders/mat_colored.frag index 620ec43c..46de50f0 100644 --- a/shaders/mat_colored.frag +++ b/shaders/mat_colored.frag @@ -9,9 +9,9 @@ in vec4 f_clip_future_pos; #param (color, 0, 0, 4, diffuse) #param (diffuse, 1, 0, 1, diffuse) -#param (specular, 0.2, 0.2, 0.2, specular) -#param (reflection, 0.5, 0.5, 0.5, zero) -#param (glossiness, 0.5, 0.5, 0.5, glossiness) +#param (specular, 1, 1, 1, specular) +#param (reflection, 1, 2, 1, zero) +#param (glossiness, 1, 3, 1, glossiness) layout(location = 0) out vec4 out_color; #if MOTIONBLUR_ENABLED diff --git a/shaders/mat_default.frag b/shaders/mat_default.frag index 42f1adaa..bc48d939 100644 --- a/shaders/mat_default.frag +++ b/shaders/mat_default.frag @@ -41,7 +41,7 @@ void main() //float specularity = (tex_color.r + tex_color.g + tex_color.b) * 0.5; glossiness = abs(param[1].w); - fragcolor = apply_lights(fragcolor, fragnormal, tex_color.rgb, reflectivity, 0, shadow_tone); + fragcolor = apply_lights(fragcolor, fragnormal, tex_color.rgb, reflectivity, 0.0, shadow_tone); vec4 color = vec4(apply_fog(fragcolor), tex_color.a * alpha_mult); /* float distance = dot(f_pos.xyz, f_pos.xyz); diff --git a/shaders/mat_reflmap.frag b/shaders/mat_reflmap.frag index 5695ee3f..bd4c4ae7 100644 --- a/shaders/mat_reflmap.frag +++ b/shaders/mat_reflmap.frag @@ -44,7 +44,7 @@ void main() float specularity = (tex_color.r + tex_color.g + tex_color.b) * 0.5; glossiness = abs(param[1].w); - fragcolor = apply_lights(fragcolor, fragnormal, tex_color.rgb, reflectivity, 0, shadow_tone); + fragcolor = apply_lights(fragcolor, fragnormal, tex_color.rgb, reflectivity, 0.0, shadow_tone); if(alphatestfail) fragcolor.r = 1.0;