new battery model with shaders

This commit is contained in:
Nikolai Fesenko
2025-08-16 01:05:24 +02:00
parent d7a9dc76dc
commit f323ae8d3d
25 changed files with 3967 additions and 0 deletions

22
Shaders/Fuse.gdshader Normal file
View File

@@ -0,0 +1,22 @@
shader_type spatial;
uniform sampler2D noise;
void vertex() {
// Called for every vertex the material is visible on.
}
void fragment() {
//ALBEDO = vec3(0.000275,0.0,0.665027);
EMISSION = vec3(0.0,0.0,1.0);
if( TIME < 1800.0 ) {
ALBEDO = texture(noise,UV + TIME / 5.0).rgb;
}
else {
ALBEDO = texture(noise,UV - TIME).rgb;
}
}
//void light() {
// // Called for every pixel for every light affecting the material.
// // Uncomment to replace the default light processing function with this one.
//}

View File

@@ -0,0 +1 @@
uid://4m7bv5x2pfnr

View File

@@ -0,0 +1,15 @@
shader_type spatial;
void vertex() {
// Called for every vertex the material is visible on.
}
void fragment() {
ALBEDO = vec3(1.0,0.0,0.0);
EMISSION = vec3(1.0,0.0,0.0);
}
//void light() {
// // Called for every pixel for every light affecting the material.
// // Uncomment to replace the default light processing function with this one.
//}

View File

@@ -0,0 +1 @@
uid://derm5u32om74e

View File

@@ -0,0 +1,17 @@
shader_type spatial;
uniform sampler2D normal;
uniform sampler2D color;
void vertex() {
// Called for every vertex the material is visible on.
}
void fragment() {
ALBEDO = vec3(0.1,0.1,0.1);
NORMAL = texture(normal,UV).rgb;
ALPHA = 0.4;
}
//void light() {
// // Called for every pixel for every light affecting the material.
// // Uncomment to replace the default light processing function with this one.
//}

View File

@@ -0,0 +1 @@
uid://xn2eixgmefs8

View File

@@ -0,0 +1,17 @@
shader_type spatial;
void vertex() {
// Called for every vertex the material is visible on.
}
void fragment() {
ALBEDO = vec3(0.5,0.5,0.5);
METALLIC = 1.0;
ROUGHNESS = 0.3;
}
//void light() {
// // Called for every pixel for every light affecting the material.
// // Uncomment to replace the default light processing function with this one.
//}

View File

@@ -0,0 +1 @@
uid://csc12sk3jp67