This commit is contained in:
milek7
2018-07-15 00:46:01 +02:00
parent 4566375faa
commit 794093dad4
17 changed files with 346 additions and 184 deletions

14
shaders/billboard.frag Normal file
View File

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