90 lines
2.3 KiB
Plaintext
90 lines
2.3 KiB
Plaintext
[gd_scene load_steps=9 format=2]
|
|
|
|
[ext_resource path="res://sky.jpg" type="Texture" id=1]
|
|
[ext_resource path="res://Planeet.tres" type="Material" id=2]
|
|
|
|
[sub_resource type="SphereMesh" id=1]
|
|
radius = 2.0
|
|
height = 4.0
|
|
|
|
[sub_resource type="PanoramaSky" id=2]
|
|
panorama = ExtResource( 1 )
|
|
|
|
[sub_resource type="Environment" id=3]
|
|
background_mode = 2
|
|
background_sky = SubResource( 2 )
|
|
background_energy = 0.16
|
|
ambient_light_color = Color( 0.262745, 0.262745, 0.262745, 1 )
|
|
ambient_light_energy = 7.54
|
|
auto_exposure_scale = 5.28
|
|
auto_exposure_max_luma = 3.73
|
|
auto_exposure_speed = 48.95
|
|
ss_reflections_enabled = true
|
|
dof_blur_far_distance = 29.65
|
|
dof_blur_far_transition = 0.08
|
|
glow_enabled = true
|
|
glow_levels/1 = true
|
|
glow_levels/3 = false
|
|
glow_levels/6 = true
|
|
glow_bloom = 0.01
|
|
glow_blend_mode = 0
|
|
glow_bicubic_upscale = true
|
|
adjustment_enabled = true
|
|
adjustment_saturation = 1.05
|
|
|
|
[sub_resource type="Shader" id=4]
|
|
code = "shader_type spatial;
|
|
uniform vec4 color : hint_color;
|
|
uniform float base_strength : hint_range(1.0, 7.0, 0.1);
|
|
varying float real_strength;
|
|
|
|
float wave(float t) {
|
|
float one = 0.06*cos(t);
|
|
float two = 0.03*cos(2.0*t+1.0);
|
|
return one+two;
|
|
}
|
|
|
|
void vertex() {
|
|
real_strength = base_strength * wave(TIME);
|
|
VERTEX = VERTEX*base_strength;
|
|
VERTEX += VERTEX*0.5*wave(TIME);
|
|
}
|
|
|
|
void fragment() {
|
|
EMISSION = color.rgb*base_strength;
|
|
EMISSION += EMISSION*wave(TIME)*2.0;
|
|
|
|
}"
|
|
|
|
[sub_resource type="ShaderMaterial" id=5]
|
|
shader = SubResource( 4 )
|
|
shader_param/color = Color( 1, 0.996078, 0.866667, 1 )
|
|
shader_param/base_strength = 4.0
|
|
|
|
[sub_resource type="SphereMesh" id=6]
|
|
material = SubResource( 5 )
|
|
|
|
[node name="Planeet" type="Spatial"]
|
|
|
|
[node name="Camera" type="Camera" parent="."]
|
|
transform = Transform( 0.243869, 0, 0.969808, 0, 1, 0, -0.969808, 0, 0.243869, 6.94895, 0, 7.70599 )
|
|
fov = 66.0
|
|
|
|
[node name="Planeet" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00204706, 4.76837e-07, 0.00108433 )
|
|
mesh = SubResource( 1 )
|
|
material/0 = ExtResource( 2 )
|
|
|
|
[node name="Galaxy" type="WorldEnvironment" parent="."]
|
|
environment = SubResource( 3 )
|
|
|
|
[node name="Zon" type="MeshInstance" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -72.2436, 4.93426, 30.6297 )
|
|
mesh = SubResource( 6 )
|
|
material/0 = null
|
|
|
|
[node name="Zonlamp" type="OmniLight" parent="Zon"]
|
|
light_color = Color( 1, 1, 0.956863, 1 )
|
|
omni_range = 265.8
|
|
omni_attenuation = 1.51572
|