mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-20 21:07:17 +01:00
19 lines
548 B
Plaintext
19 lines
548 B
Plaintext
[gd_resource type="Shader" format=2]
|
|
|
|
[resource]
|
|
code = "// NOTE: Shader automatically converted from Godot Engine 3.5.beta's SpatialMaterial.
|
|
|
|
shader_type spatial;
|
|
render_mode async_visible,blend_mix,depth_draw_opaque,cull_disabled,unshaded,vertex_lighting,shadows_disabled;
|
|
uniform vec4 albedo : hint_color;
|
|
uniform sampler2D texture_albedo : hint_albedo;
|
|
|
|
void fragment() {
|
|
vec2 base_uv = UV;
|
|
vec4 albedo_tex = texture(texture_albedo,base_uv);
|
|
albedo_tex *= COLOR;
|
|
ALBEDO = albedo.rgb * albedo_tex.rgb;
|
|
ALPHA = albedo.a * albedo_tex.a;
|
|
}
|
|
"
|