Gallery/sun.gdshader

9 lines
205 B
Plaintext
Raw Permalink Normal View History

2025-05-03 17:58:07 +00:00
shader_type spatial;
uniform vec4 albedo : source_color;
uniform float emission_energy : hint_range(0, 10) = 1.0;
void fragment() {
ALBEDO = albedo.rgb;
EMISSION = albedo.rgb * emission_energy;
}