mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-16 17:13:46 +00:00
3D Lights and shadows
This commit is contained in:
parent
b17ef45678
commit
f3edc2b433
13 changed files with 2409 additions and 2173 deletions
|
|
@ -1,15 +1,21 @@
|
|||
[gd_scene format=3 uid="uid://cnnm5cqi1xfoc"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://cnnm5cqi1xfoc"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ysbgwxewn4kr" path="res://3D/TrenchBroom/EntityScripts/Lights/light_special.gd" id="1_v4khc"]
|
||||
[ext_resource type="Script" uid="uid://c8k0yi3krclkl" path="res://3D/TrenchBroom/EntityScripts/Lights/SpecialSubSpotLight.cs" id="2_kwm36"]
|
||||
|
||||
[node name="OmniLight3dSpecial" type="OmniLight3D"]
|
||||
script = ExtResource("1_v4khc")
|
||||
|
||||
[node name="SpotLight3D" type="SpotLight3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0)
|
||||
shadow_enabled = true
|
||||
spot_angle = 75.0
|
||||
spot_angle_attenuation = 0.1
|
||||
script = ExtResource("2_kwm36")
|
||||
|
||||
[node name="SpotLight3D2" type="SpotLight3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 0, 0)
|
||||
light_negative = true
|
||||
spot_angle = 75.0
|
||||
spot_angle_attenuation = 0.1
|
||||
script = ExtResource("2_kwm36")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue