mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-09-01 12:49:18 +02:00
works for rendering without texture (not done yet)
This commit is contained in:
@@ -135,5 +135,7 @@ void main()
|
||||
}
|
||||
|
||||
vec4 tex_color = texture(tex, f_coord);
|
||||
color = vec4(apply_fog(result * tex_color.xyz), tex_color.w);
|
||||
vec3 c = apply_fog(result * tex_color.xyz);
|
||||
//color = vec4(c / (c + vec3(1.0)), tex_color.w);
|
||||
color = vec4(c, tex_color.w);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user