16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 05:49:19 +02:00
This commit is contained in:
milek7
2018-07-16 00:20:07 +02:00
parent 4c855d5980
commit a29379ed8b
6 changed files with 12 additions and 7 deletions

16
shaders/mat_clouds.frag Normal file
View File

@@ -0,0 +1,16 @@
#version 330
in vec3 f_normal;
in vec2 f_coord;
in vec3 f_pos;
#texture (tex1, 0, sRGB_A)
uniform sampler2D tex1;
#include <common>
void main()
{
vec4 tex_color = texture(tex1, f_coord);
gl_FragColor = tex_color * param[0];
}