14 lines
208 B
Plaintext
14 lines
208 B
Plaintext
|
shader_type spatial;
|
||
|
|
||
|
#include "res://vfx/util.gdshaderinc"
|
||
|
|
||
|
UNIVERSAL_SOLID_PARAMS
|
||
|
uniform vec3 color: source_color;
|
||
|
|
||
|
void fragment() {
|
||
|
UNIVERSAL_SOLID_PROCESSING
|
||
|
}
|
||
|
|
||
|
void light() {
|
||
|
DIFFUSE_LIGHT = color;
|
||
|
}
|