Files
maszyna/shaders/billboard.frag
milek7 4c855d5980 work
2018-07-15 23:46:53 +02:00

16 lines
217 B
GLSL

#version 330
in vec3 f_normal;
in vec2 f_coord;
#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];
}