17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-03 17:50:21 +01:00

Adjust param values

This commit is contained in:
2026-09-19 17:09:58 +02:00
parent 468ea1d747
commit 306c7eaf26
3 changed files with 5 additions and 5 deletions

View File

@@ -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;