cirnogodot/3D/TrenchBroom/EntityDefinitions/base/light_base.tres
2025-06-12 11:50:22 +02:00

33 lines
1.7 KiB
Text

[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=3 format=3 uid="uid://bpiblsew5s5so"]
[ext_resource type="Resource" uid="uid://x4g06004i574" path="res://3D/TrenchBroom/EntityDefinitions/base/globalname_base.tres" id="1_1p2gj"]
[ext_resource type="Script" uid="uid://6o4wbl0iau0v" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="2_7j6bh"]
[resource]
script = ExtResource("2_7j6bh")
classname = "Light"
description = ""
func_godot_internal = false
base_classes = Array[Resource]([ExtResource("1_1p2gj")])
class_properties = {
"color": Color(1, 1, 1, 1),
"energy": 1.0,
"indirect_energy": 1.0,
"shadow_bias": 0.1,
"shadows": false
}
class_property_descriptions = {
"color": "The light's color.",
"energy": "The light's strength multiplier. For OmniLight3D and SpotLight3D, changing this value will only change the light color's intensity, not the light's radius.",
"indirect_energy": "The light's strength multiplier. For OmniLight3D and SpotLight3D, changing this value will only change the light color's intensity, not the light's radius.",
"shadow_bias": "Used to adjust shadow appearance. Too small a value results in self-shadowing, while too large a value causes shadows to separate from casters. Adjust as needed.",
"shadows": "If true, the light will cast real-time shadows. This has a significant performance cost. Only enable shadow rendering when it makes a noticeable difference in the scene's appearance"
}
auto_apply_to_matching_node_properties = false
meta_properties = {
"color": Color(0.8, 0.8, 0, 1),
"size": AABB(-8, -8, -8, 8, 8, 8)
}
node_class = ""
name_property = ""
metadata/_custom_type_script = "uid://6o4wbl0iau0v"