UI and other changes
This commit is contained in:
parent
87b5c11fcf
commit
215e24e246
79 changed files with 70023 additions and 2201 deletions
|
|
@ -1,11 +1,13 @@
|
|||
shader_type spatial;
|
||||
// Shared enemy material (one MultiMesh batch), from the prototype's bird shader: wings (local
|
||||
// |x|) flap with a per-enemy phase from INSTANCE_CUSTOM.r, and a hit flashes the enemy white
|
||||
// through INSTANCE_CUSTOM.g (1 on the hit, fading). Rim light keeps the near-black crow
|
||||
// readable against the grass and crops, and night_glow (set by DayNight) adds a faint purple glow
|
||||
// at night.
|
||||
// through INSTANCE_CUSTOM.g (1 on the hit, fading). Lit like the rest of the farm
|
||||
// (toon_light.gdshaderinc), whose rim light keeps the near-black crow readable against the grass
|
||||
// and crops, and night_glow (set by DayNight) adds a faint purple glow at night.
|
||||
render_mode cull_disabled;
|
||||
|
||||
#include "res://game/resources/toon_light.gdshaderinc"
|
||||
|
||||
uniform vec3 base_color : source_color = vec3(0.07, 0.07, 0.09);
|
||||
uniform float flap_speed = 11.0;
|
||||
uniform float flap_amount = 0.55;
|
||||
|
|
@ -25,6 +27,4 @@ void fragment() {
|
|||
EMISSION = vec3(1.0, 0.9, 0.8) * flash * 0.6 + vec3(0.5, 0.28, 0.75) * night_glow * 0.35;
|
||||
ROUGHNESS = 0.55;
|
||||
SPECULAR = 0.4;
|
||||
RIM = 0.8;
|
||||
RIM_TINT = 0.3;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue