UI and other changes
This commit is contained in:
parent
87b5c11fcf
commit
215e24e246
79 changed files with 70023 additions and 2201 deletions
|
|
@ -3,9 +3,12 @@ shader_type spatial;
|
|||
// EnemySystem.build_ufo_mesh(): each part's color comes from the vertex COLOR, and its glow and
|
||||
// metalness from UV (x, y). No flap: the saucer turns slowly about its axis and bobs a little,
|
||||
// with a per-enemy phase from INSTANCE_CUSTOM.r, and the rim lights (glow 1) pulse in a chase
|
||||
// around the ring. As in thief.gdshader, a hit flashes it white through INSTANCE_CUSTOM.g (1 on
|
||||
// the hit, fading), a rim light keeps it readable, and night_glow (set by DayNight) adds a faint
|
||||
// purple glow at night; the lights and the dome glow brighter in the dark.
|
||||
// around the ring. As in thief.gdshader, it's lit like the rest of the farm
|
||||
// (toon_light.gdshaderinc), a hit flashes it white through INSTANCE_CUSTOM.g (1 on the hit,
|
||||
// fading), and night_glow (set by DayNight) adds a faint purple glow at night; the lights and the
|
||||
// dome glow brighter in the dark.
|
||||
|
||||
#include "res://game/resources/toon_light.gdshaderinc"
|
||||
|
||||
uniform float spin_speed = 1.2;
|
||||
uniform float bob_amount = 0.05;
|
||||
|
|
@ -43,6 +46,4 @@ void fragment() {
|
|||
// The night's purple sits on the hull; the glowing parts keep their own color.
|
||||
EMISSION = base * glow * glow_energy * (1.0 + night_glow) + vec3(1.0, 0.9, 0.8) * f * 0.6
|
||||
+ vec3(0.5, 0.28, 0.75) * night_glow * 0.35 * (1.0 - glow);
|
||||
RIM = 0.6;
|
||||
RIM_TINT = 0.4;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue