9 lines
187 B
Plaintext
9 lines
187 B
Plaintext
|
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;
|
||
|
}
|