spes/General/S_TestGridUV.gdshader

9 lines
187 B
Plaintext
Raw Normal View History

shader_type spatial;
uniform sampler2D albedo : source_color,filter_nearest_mipmap_anisotropic;
uniform vec2 uv_scale;
void fragment() {
ALBEDO = texture(albedo, UV * uv_scale).xyz;
}