Gallery/sun.gdshader
2025-05-03 12:00:38 -06:00

9 lines
205 B
Plaintext

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;
}