This commit is contained in:
jonathan
2026-02-01 20:35:34 +01:00
parent a6dd6b646d
commit 96e53b9bbe
11 changed files with 929 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
shader_type spatial;
render_mode cull_disabled;
uniform sampler2D tex : source_color, filter_nearest;
uniform float intensity = 1;
void vertex() {
// Called for every vertex the material is visible on.
}
void fragment() {
vec4 color = texture(tex,UV);
ALBEDO = vec3(0,0,0);
EMISSION = color.rgb * intensity;
ALPHA = color.a;
}
//void light() {
// // Called for every pixel for every light affecting the material.
// // Uncomment to replace the default light processing function with this one.
//}