resources.shaders.deprecated.StndParticle.frag Maven / Gradle / Ivy
The newest version!
#include StdLib.frag
in float alpha;
in vec3 lightdir;
uniform sampler2D diffuse_sampler;
void main() {
vec4 color = tex(diffuse_sampler, gl_PointCoord);
color.a *= alpha;
FragColor = color;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy