16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 15:49:19 +02:00
Files
maszyna/shaders/mat_clouds.frag
2018-07-23 01:22:36 +02:00

18 lines
264 B
GLSL

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