mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 22:39:18 +02:00
16 lines
217 B
GLSL
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];
|
|
}
|