new method of creating preview

This commit is contained in:
Nikolai Fesenko
2025-08-15 20:35:27 +02:00
parent 3b540e019b
commit 5c71f036af
5 changed files with 45 additions and 62 deletions

View File

@@ -1,5 +1,5 @@
shader_type spatial;
uniform float alpha;
//uniform float alpha;
uniform vec3 color;
void vertex() {
@@ -8,7 +8,7 @@ void vertex() {
void fragment() {
ALBEDO = color;
ALPHA = alpha;
ALPHA = 0.5;
}
//void light() {