This commit is contained in:
2026-10-13 15:27:01 +08:00
parent 850d657404
commit c81571ec1e
28 changed files with 551 additions and 113 deletions
+9
View File
@@ -0,0 +1,9 @@
group_uniforms Emission;
uniform vec4 emission : source_color = vec4(0.0, 0.0, 0.0, 1.0);
uniform float emission_energy = 1.0;
uniform sampler2D emission_texture : hint_default_black;
group_uniforms;
vec3 emission_fragment(vec2 uv) {
return (emission.rgb + texture(emission_texture, uv).rgb) * emission_energy;
}