16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 18:19:19 +02:00

param parsing fix, use colored material alpha

This commit is contained in:
milek7
2018-07-30 14:05:43 +02:00
parent 88f8bf6845
commit f6f7fee8d8
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ uniform samplerCube envmap;
void main()
{
vec4 tex_color = vec4(pow(param[0].rgb, vec3(2.2)), 1.0f);
vec4 tex_color = vec4(pow(param[0].rgb, vec3(2.2)), param[0].a);
vec3 normal = normalize(f_normal);
vec3 refvec = reflect(f_pos.xyz, normal);