mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
17 lines
232 B
GLSL
17 lines
232 B
GLSL
#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];
|
|
}
|