mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-07 08:20:11 +01:00
- Use 4× MSAA for a better visual appearance. - Use "3D Without Effects" framebuffer allocation when possible for better performance. - Disable Glow in the 3D Kinematic Character demo for better performance. Increase the DirectionalLight strength to compensate. - Use a non-linear attenuation for the OmniLight in the Window Management demo (and increase its range to compensate).
21 lines
473 B
Plaintext
21 lines
473 B
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://observer/observer.gd" type="Script" id=1]
|
|
|
|
[sub_resource type="BoxShape" id=1]
|
|
|
|
[node name="Observer" type="KinematicBody"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
|
shape = SubResource( 1 )
|
|
|
|
[node name="Camera" type="Camera" parent="."]
|
|
fov = 74.0
|
|
near = 0.1
|
|
far = 1000.0
|
|
|
|
[node name="OmniLight" type="OmniLight" parent="."]
|
|
omni_range = 8.0
|
|
omni_attenuation = 2.0
|