Is there any way do shader fill tilemap (don't use screen_texture and screen_uv)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Zszen John

I found the unit tile be fill single. I want to fill whole tilemap.

enter image description here

shader_type canvas_item;

void fragment(){
	vec4 cc = texture(TEXTURE, UV);
	cc.rgb+=smoothstep(0.,1.,UV.y+UV.x);
	COLOR = cc;
}

I’m having the exact same problem. SCREEN_UV was the only way I’ve found so far.

TheoTheTorch | 2022-04-19 17:14