mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-09-01 16:19:19 +02:00
Zamiana metalic na floata z wazonym efektem.
This commit is contained in:
@@ -64,7 +64,7 @@ void main()
|
||||
float reflectivity = param[1].z * texture(normalmap, texture_coords ).a;
|
||||
float specularity = texture(specgloss, f_coord).r;
|
||||
glossiness = texture(specgloss, f_coord).g * abs(param[1].w);
|
||||
metalic = (texture(specgloss, f_coord).b > 0.5) ? true : false;
|
||||
float metalic = texture(specgloss, f_coord).b;
|
||||
|
||||
fragcolor = apply_lights(fragcolor, fragnormal, tex_color.rgb, reflectivity, specularity, shadow_tone);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user