You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Undertaker-Simulator/prefabs/firesprite.gdshader

22 lines
506 B

shader_type spatial;
render_mode cull_disabled;
uniform sampler2D tex : source_color, filter_nearest;
uniform float intensity = 1;
void vertex() {
// Called for every vertex the material is visible on.
}
void fragment() {
vec4 color = texture(tex,UV);
ALBEDO = vec3(0,0,0);
EMISSION = color.rgb * intensity;
ALPHA = color.a;
}
//void light() {
// // Called for every pixel for every light affecting the material.
// // Uncomment to replace the default light processing function with this one.
//}