This commit is contained in:
rendo 2026-04-24 12:07:46 +05:00
commit 21a4adf229
16 changed files with 136 additions and 24 deletions

View file

@ -2,6 +2,7 @@ shader_type spatial;
render_mode cull_back, blend_mix;
uniform vec4 albedo_color: source_color;
uniform float fill: hint_range(0.0, 1.0, 0.01) = 0.;
uniform float wave_intensity: hint_range(0.0, 1.0, 0.01) = 0.;
@ -17,6 +18,8 @@ void vertex() {
void fragment() {
// Called for every pixel the material is visible on.
ALBEDO = albedo_color.rgb;
ALPHA = albedo_color.a;
}
//void light() {