stick-the-quick/vfx/identity.gdshader

13 lines
239 B
Plaintext

shader_type spatial;
render_mode unshaded;
#include "res://vfx/util.gdshaderinc"
UNIVERSAL_SOLID_PARAMS
uniform sampler2D image: TEXTURE_HINTS;
void fragment() {
vec4 color = texture(image, UV);
ALBEDO = color.rgb;
ALPHA = color.a;
}