๐Ÿ“ฆ endragor / etc2bug

๐Ÿ“„ opaque.tres ยท 15 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15[gd_resource type="Shader" format=2]

[resource]

code = "shader_type spatial;
render_mode blend_mix,depth_draw_always,cull_back,unshaded;

uniform sampler2D main_texture: hint_albedo;

void fragment() {
	ALBEDO = texture(main_texture, UV).rgb;
}"
_sections_unfolded = [ "Resource" ]