This commit is contained in:
2026-06-02 22:29:48 +01:00
commit 5e0f4c3914
549 changed files with 10639 additions and 0 deletions

12
fakelight.gd Normal file
View File

@@ -0,0 +1,12 @@
extends Sprite3D
var lights
func _ready():
lights = get_parent().lights
func _process(delta):
var lum = Vector3.ZERO
for light in lights:
lum += light[1]/max(light[0].distance_squared_to(global_position)/2,1)
modulate = Color(lum.x,lum.y,lum.z)