summaryrefslogtreecommitdiff
path: root/demos/2d/hdr
diff options
context:
space:
mode:
Diffstat (limited to 'demos/2d/hdr')
-rw-r--r--demos/2d/hdr/beach_cave.gd21
-rw-r--r--demos/2d/hdr/beach_cave.tscn88
-rw-r--r--demos/2d/hdr/engine.cfg14
-rw-r--r--demos/2d/hdr/icon.pngbin3962 -> 0 bytes
-rw-r--r--demos/2d/hdr/ocean_beach.pngbin443558 -> 0 bytes
-rw-r--r--demos/2d/hdr/ocean_beach.png.flags1
-rw-r--r--demos/2d/hdr/ocean_cave.pngbin745215 -> 0 bytes
-rw-r--r--demos/2d/hdr/ocean_cave.png.flags1
8 files changed, 0 insertions, 125 deletions
diff --git a/demos/2d/hdr/beach_cave.gd b/demos/2d/hdr/beach_cave.gd
deleted file mode 100644
index fcc878e565..0000000000
--- a/demos/2d/hdr/beach_cave.gd
+++ /dev/null
@@ -1,21 +0,0 @@
-
-extends Node2D
-
-# Member variables
-const CAVE_LIMIT = 1000
-
-
-func _input(event):
- if (event.type == InputEvent.MOUSE_MOTION and event.button_mask&1):
- var rel_x = event.relative_x
- var cavepos = get_node("cave").get_pos()
- cavepos.x += rel_x
- if (cavepos.x < -CAVE_LIMIT):
- cavepos.x = -CAVE_LIMIT
- elif (cavepos.x > 0):
- cavepos.x = 0
- get_node("cave").set_pos(cavepos)
-
-
-func _ready():
- set_process_input(true)
diff --git a/demos/2d/hdr/beach_cave.tscn b/demos/2d/hdr/beach_cave.tscn
deleted file mode 100644
index f246ff1f42..0000000000
--- a/demos/2d/hdr/beach_cave.tscn
+++ /dev/null
@@ -1,88 +0,0 @@
-[gd_scene load_steps=5 format=1]
-
-[ext_resource path="res://beach_cave.gd" type="Script" id=1]
-[ext_resource path="res://ocean_beach.png" type="Texture" id=2]
-[ext_resource path="res://ocean_cave.png" type="Texture" id=3]
-
-[sub_resource type="Environment" id=1]
-
-ambient_light/enabled = false
-ambient_light/color = Color( 0, 0, 0, 1 )
-ambient_light/energy = 1.0
-fxaa/enabled = false
-background/mode = 5
-background/color = Color( 0, 0, 0, 1 )
-background/energy = 1.0
-background/scale = 1.0
-background/glow = 0.0
-background/canvas_max_layer = null
-glow/enabled = true
-glow/blur_passes = 3
-glow/blur_scale = 1.2
-glow/blur_strength = 1.2
-glow/blur_blend_mode = 0
-glow/bloom = 0.0
-glow/bloom_treshold = 0.5
-dof_blur/enabled = false
-dof_blur/blur_passes = 1
-dof_blur/begin = 100.0
-dof_blur/range = 10.0
-hdr/enabled = true
-hdr/tonemapper = 0.0
-hdr/exposure = 0.5
-hdr/white = 1.0
-hdr/glow_treshold = 0.7
-hdr/glow_scale = 0.5
-hdr/min_luminance = 0.3
-hdr/max_luminance = 8.0
-hdr/exposure_adj_speed = 2.0
-fog/enabled = false
-fog/begin = 100.0
-fog/begin_color = Color( 0, 0, 0, 1 )
-fog/end_color = Color( 0, 0, 0, 1 )
-fog/attenuation = 1.0
-fog/bg = true
-bcs/enabled = false
-bcs/brightness = 1.0
-bcs/contrast = 1.0
-bcs/saturation = 1.0
-srgb/enabled = true
-
-[node name="hdr" type="Node2D"]
-
-script/script = ExtResource( 1 )
-
-[node name="beach" type="Sprite" parent="."]
-
-texture = ExtResource( 2 )
-centered = false
-modulate = Color( 2, 2, 2, 1 )
-
-[node name="cave" type="Sprite" parent="."]
-
-transform/scale = Vector2( 1.2, 1 )
-texture = ExtResource( 3 )
-centered = false
-modulate = Color( 0.233166, 0.221219, 0.23582, 1 )
-
-[node name="environment" type="WorldEnvironment" parent="."]
-
-_import_transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0 )
-environment = SubResource( 1 )
-
-[node name="Label" type="Label" parent="."]
-
-focus/ignore_mouse = true
-focus/stop_mouse = true
-size_flags/horizontal = 2
-margin/left = 0.0
-margin/top = 0.0
-margin/right = 40.0
-margin/bottom = 13.0
-custom_colors/font_color = Color( 0.213955, 0.205626, 0.20313, 1 )
-text = "Drag Left and Right"
-percent_visible = 1.0
-lines_skipped = 0
-max_lines_visible = -1
-
-
diff --git a/demos/2d/hdr/engine.cfg b/demos/2d/hdr/engine.cfg
deleted file mode 100644
index 4bc2923574..0000000000
--- a/demos/2d/hdr/engine.cfg
+++ /dev/null
@@ -1,14 +0,0 @@
-[application]
-
-name="HDR for 2D"
-main_scene="res://beach_cave.tscn"
-icon="res://icon.png"
-
-[display]
-
-width=1080
-height=720
-
-[rasterizer]
-
-blur_buffer_size=128
diff --git a/demos/2d/hdr/icon.png b/demos/2d/hdr/icon.png
deleted file mode 100644
index 461cd4638a..0000000000
--- a/demos/2d/hdr/icon.png
+++ /dev/null
Binary files differ
diff --git a/demos/2d/hdr/ocean_beach.png b/demos/2d/hdr/ocean_beach.png
deleted file mode 100644
index a873d4f61d..0000000000
--- a/demos/2d/hdr/ocean_beach.png
+++ /dev/null
Binary files differ
diff --git a/demos/2d/hdr/ocean_beach.png.flags b/demos/2d/hdr/ocean_beach.png.flags
deleted file mode 100644
index 82127bd7d5..0000000000
--- a/demos/2d/hdr/ocean_beach.png.flags
+++ /dev/null
@@ -1 +0,0 @@
-tolinear=true
diff --git a/demos/2d/hdr/ocean_cave.png b/demos/2d/hdr/ocean_cave.png
deleted file mode 100644
index 8875499df3..0000000000
--- a/demos/2d/hdr/ocean_cave.png
+++ /dev/null
Binary files differ
diff --git a/demos/2d/hdr/ocean_cave.png.flags b/demos/2d/hdr/ocean_cave.png.flags
deleted file mode 100644
index 82127bd7d5..0000000000
--- a/demos/2d/hdr/ocean_cave.png.flags
+++ /dev/null
@@ -1 +0,0 @@
-tolinear=true