18 lines
292 B
Plaintext
18 lines
292 B
Plaintext
|
shader_type spatial;
|
||
|
|
||
|
render_mode blend_mix;
|
||
|
|
||
|
uniform float emission_scale = 0.5;
|
||
|
|
||
|
void vertex() {
|
||
|
// Called for every vertex the material is visible on.
|
||
|
}
|
||
|
|
||
|
void fragment() {
|
||
|
ALBEDO = COLOR.rgb;
|
||
|
ROUGHNESS = 1.0;
|
||
|
SPECULAR = 0.0;
|
||
|
EMISSION = COLOR.rgb * emission_scale;
|
||
|
ALPHA = COLOR.a;
|
||
|
}
|