summaryrefslogtreecommitdiff
path: root/godot3
diff options
context:
space:
mode:
Diffstat (limited to 'godot3')
-rw-r--r--godot3/.import/CRTFrame.png-96837578d803d46c371247267c1fa407.md53
-rw-r--r--godot3/.import/CRTFrame.png-96837578d803d46c371247267c1fa407.stexbin18745 -> 0 bytes
-rw-r--r--godot3/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md53
-rw-r--r--godot3/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stexbin3546 -> 0 bytes
-rw-r--r--godot3/.import/sample.png-e83d904df67be35a3470a03c20e2b3c2.md53
-rw-r--r--godot3/.import/sample.png-e83d904df67be35a3470a03c20e2b3c2.stexbin254998 -> 0 bytes
-rw-r--r--godot3/.import/white.png-d8533361663a5f8fe5200e5b5262a62d.md53
-rw-r--r--godot3/.import/white.png-d8533361663a5f8fe5200e5b5262a62d.stexbin198 -> 0 bytes
-rw-r--r--godot3/CRTFrame.pngbin17559 -> 0 bytes
-rw-r--r--godot3/CRTFrame.png.import34
-rw-r--r--godot3/ShaderTestScreen.tscn236
-rw-r--r--godot3/default_env.tres18
-rw-r--r--godot3/icon.pngbin3498 -> 0 bytes
-rw-r--r--godot3/icon.png.import34
-rw-r--r--godot3/project.godot24
-rw-r--r--godot3/sample.pngbin254953 -> 0 bytes
-rw-r--r--godot3/sample.png.import34
-rw-r--r--godot3/white.pngbin174 -> 0 bytes
-rw-r--r--godot3/white.png.import34
19 files changed, 0 insertions, 426 deletions
diff --git a/godot3/.import/CRTFrame.png-96837578d803d46c371247267c1fa407.md5 b/godot3/.import/CRTFrame.png-96837578d803d46c371247267c1fa407.md5
deleted file mode 100644
index fd23a82..0000000
--- a/godot3/.import/CRTFrame.png-96837578d803d46c371247267c1fa407.md5
+++ /dev/null
@@ -1,3 +0,0 @@
-source_md5="df84d0e7c378fc804ee71ab344da073a"
-dest_md5="ff93b8ffac84374a8b5a1f9fdddc4633"
-
diff --git a/godot3/.import/CRTFrame.png-96837578d803d46c371247267c1fa407.stex b/godot3/.import/CRTFrame.png-96837578d803d46c371247267c1fa407.stex
deleted file mode 100644
index c5c7555..0000000
--- a/godot3/.import/CRTFrame.png-96837578d803d46c371247267c1fa407.stex
+++ /dev/null
Binary files differ
diff --git a/godot3/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5 b/godot3/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5
deleted file mode 100644
index 1f3b6a6..0000000
--- a/godot3/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5
+++ /dev/null
@@ -1,3 +0,0 @@
-source_md5="ae7e641067601e2184afcade49abd283"
-dest_md5="666d00497ab80edb9a199bfa253dc2f5"
-
diff --git a/godot3/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex b/godot3/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex
deleted file mode 100644
index 35d087e..0000000
--- a/godot3/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex
+++ /dev/null
Binary files differ
diff --git a/godot3/.import/sample.png-e83d904df67be35a3470a03c20e2b3c2.md5 b/godot3/.import/sample.png-e83d904df67be35a3470a03c20e2b3c2.md5
deleted file mode 100644
index e44a2dc..0000000
--- a/godot3/.import/sample.png-e83d904df67be35a3470a03c20e2b3c2.md5
+++ /dev/null
@@ -1,3 +0,0 @@
-source_md5="03ef0b3e4f811b7b8aeb5aa43211853b"
-dest_md5="a97ab23e304573a67635b93f016d376c"
-
diff --git a/godot3/.import/sample.png-e83d904df67be35a3470a03c20e2b3c2.stex b/godot3/.import/sample.png-e83d904df67be35a3470a03c20e2b3c2.stex
deleted file mode 100644
index bb2cbef..0000000
--- a/godot3/.import/sample.png-e83d904df67be35a3470a03c20e2b3c2.stex
+++ /dev/null
Binary files differ
diff --git a/godot3/.import/white.png-d8533361663a5f8fe5200e5b5262a62d.md5 b/godot3/.import/white.png-d8533361663a5f8fe5200e5b5262a62d.md5
deleted file mode 100644
index 8d1ed0a..0000000
--- a/godot3/.import/white.png-d8533361663a5f8fe5200e5b5262a62d.md5
+++ /dev/null
@@ -1,3 +0,0 @@
-source_md5="b68844373120b3795a9b80a7922d0c76"
-dest_md5="822a4e0b0b5fd90160b4255670a4f4b5"
-
diff --git a/godot3/.import/white.png-d8533361663a5f8fe5200e5b5262a62d.stex b/godot3/.import/white.png-d8533361663a5f8fe5200e5b5262a62d.stex
deleted file mode 100644
index fb1c958..0000000
--- a/godot3/.import/white.png-d8533361663a5f8fe5200e5b5262a62d.stex
+++ /dev/null
Binary files differ
diff --git a/godot3/CRTFrame.png b/godot3/CRTFrame.png
deleted file mode 100644
index 9c5ca46..0000000
--- a/godot3/CRTFrame.png
+++ /dev/null
Binary files differ
diff --git a/godot3/CRTFrame.png.import b/godot3/CRTFrame.png.import
deleted file mode 100644
index 73baf73..0000000
--- a/godot3/CRTFrame.png.import
+++ /dev/null
@@ -1,34 +0,0 @@
-[remap]
-
-importer="texture"
-type="StreamTexture"
-path="res://.import/CRTFrame.png-96837578d803d46c371247267c1fa407.stex"
-metadata={
-"vram_texture": false
-}
-
-[deps]
-
-source_file="res://CRTFrame.png"
-dest_files=[ "res://.import/CRTFrame.png-96837578d803d46c371247267c1fa407.stex" ]
-
-[params]
-
-compress/mode=0
-compress/lossy_quality=0.7
-compress/hdr_mode=0
-compress/bptc_ldr=0
-compress/normal_map=0
-flags/repeat=0
-flags/filter=true
-flags/mipmaps=false
-flags/anisotropic=false
-flags/srgb=2
-process/fix_alpha_border=true
-process/premult_alpha=false
-process/HDR_as_SRGB=false
-process/invert_color=false
-stream=false
-size_limit=0
-detect_3d=true
-svg/scale=1.0
diff --git a/godot3/ShaderTestScreen.tscn b/godot3/ShaderTestScreen.tscn
deleted file mode 100644
index caee966..0000000
--- a/godot3/ShaderTestScreen.tscn
+++ /dev/null
@@ -1,236 +0,0 @@
-[gd_scene load_steps=12 format=2]
-
-[ext_resource path="res://sample.png" type="Texture" id=1]
-[ext_resource path="res://white.png" type="Texture" id=2]
-[ext_resource path="res://CRTFrame.png" type="Texture" id=3]
-
-[sub_resource type="Shader" id=1]
-code = "shader_type canvas_item;
-
-uniform float BarrelPower =1.1;
-
-vec2 distort(vec2 p)
-{
-
- float angle = p.y / p.x;
- float theta = atan(p.y,p.x);
- float radius = pow(length(p), BarrelPower);
-
- p.x = radius * cos(theta);
- p.y = radius * sin(theta);
-
- return 0.5 * (p + vec2(1.0,1.0));
-}
-void fragment()
-{
-
-vec2 xy = SCREEN_UV * 2.0;
-xy.x -= 1.0;
-xy.y -= 1.0;
-
-float d = length(xy);
-if(d < 1.5){
- xy = distort(xy);
-}
-else{
- xy = SCREEN_UV;
-}
-COLOR = texture(SCREEN_TEXTURE,xy);
-}
-
-
-
-"
-
-[sub_resource type="ShaderMaterial" id=2]
-shader = SubResource( 1 )
-shader_param/BarrelPower = 1.1
-
-[sub_resource type="Shader" id=3]
-code = "shader_type canvas_item;
-
-uniform float color_bleeding = 0.9;
-uniform float bleeding_range = 2;
-uniform float screen_width = 1024;
-void fragment()
-{
- float pixel_size = 1.0/screen_width*bleeding_range;
- vec4 color_left = texture(SCREEN_TEXTURE,SCREEN_UV - vec2(pixel_size, 0));
- vec4 current_color = texture(SCREEN_TEXTURE,SCREEN_UV);
- current_color = current_color*vec4(color_bleeding,0.5,0.25,1);
- color_left = color_left*vec4(0.25,0.5,color_bleeding,1);
- COLOR.rgba = (current_color + color_left);
-}"
-
-[sub_resource type="ShaderMaterial" id=4]
-shader = SubResource( 3 )
-shader_param/color_bleeding = 0.9
-shader_param/bleeding_range = 2.0
-shader_param/screen_width = 1024.0
-
-[sub_resource type="Shader" id=5]
-code = "shader_type canvas_item;
-
-uniform float lines_distance = 4.0;
-uniform float pixel_size = 2.0;
-uniform float size_screen = 600;
-uniform float scanline_alpha = 0.9;
-uniform float lines_velocity = 30.0;
-
-void fragment()
-{
- float line_row = floor((SCREEN_UV.y * size_screen/pixel_size) + mod(TIME*lines_velocity, lines_distance));
-
- float n = 1.0 - ceil((mod(line_row,lines_distance)/lines_distance));
-
-vec4 c = texture(SCREEN_TEXTURE,SCREEN_UV);
-c = c - n*c*(1.0 - scanline_alpha);
-c.a = 1.0;
-COLOR = c;
-}"
-
-[sub_resource type="ShaderMaterial" id=6]
-shader = SubResource( 5 )
-shader_param/lines_distance = 4.0
-shader_param/pixel_size = 2.0
-shader_param/size_screen = 600.0
-shader_param/scanline_alpha = 0.9
-shader_param/lines_velocity = 30.0
-
-[sub_resource type="Shader" id=7]
-code = "shader_type canvas_item;
-
-uniform float screen_width = 1024;
-uniform float screen_height = 600;
-
-// Curvature
-uniform float BarrelPower =1.1;
-// Color bleeding
-uniform float color_bleeding = 1.2;
-uniform float bleeding_range_x = 3;
-uniform float bleeding_range_y = 3;
-// Scanline
-uniform float lines_distance = 4.0;
-uniform float scan_size = 2.0;
-uniform float scanline_alpha = 0.9;
-uniform float lines_velocity = 30.0;
-vec2 distort(vec2 p)
-{
-
- float angle = p.y / p.x;
- float theta = atan(p.y,p.x);
- float radius = pow(length(p), BarrelPower);
-
- p.x = radius * cos(theta);
- p.y = radius * sin(theta);
-
- return 0.5 * (p + vec2(1.0,1.0));
-}
-
-void get_color_bleeding(inout vec4 current_color,inout vec4 color_left){
-
- current_color = current_color*vec4(color_bleeding,0.5,0.25,1);
- color_left = color_left*vec4(0.25,0.5,color_bleeding,1);
-}
-
-void get_color_scanline(vec2 uv,inout vec4 c,float time){
- float line_row = floor((uv.y * screen_height/scan_size) + mod(time*lines_velocity, lines_distance));
-
- float n = 1.0 - ceil((mod(line_row,lines_distance)/lines_distance));
-
- c = c - n*c*(1.0 - scanline_alpha);
- c.a = 1.0;
-
-}
-
-void fragment()
-{
-
-vec2 xy = SCREEN_UV * 2.0;
-xy.x -= 1.0;
-xy.y -= 1.0;
-
-float d = length(xy);
-if(d < 1.5){
- xy = distort(xy);
-}
-else{
- xy = SCREEN_UV;
-}
-
-float pixel_size_x = 1.0/screen_width*bleeding_range_x;
-float pixel_size_y = 1.0/screen_height*bleeding_range_y;
-vec4 color_left = texture(SCREEN_TEXTURE,xy - vec2(pixel_size_x, pixel_size_y));
-vec4 current_color = texture(SCREEN_TEXTURE,xy);
-get_color_bleeding(current_color,color_left);
-vec4 c = current_color+color_left;
-get_color_scanline(xy,c,TIME);
-COLOR = c;
-
-}
-"
-
-[sub_resource type="ShaderMaterial" id=8]
-shader = SubResource( 7 )
-shader_param/screen_width = 1024.0
-shader_param/screen_height = 600.0
-shader_param/BarrelPower = 1.1
-shader_param/color_bleeding = 1.2
-shader_param/bleeding_range_x = 3.0
-shader_param/bleeding_range_y = 3.0
-shader_param/lines_distance = 4.0
-shader_param/scan_size = 2.0
-shader_param/scanline_alpha = 0.9
-shader_param/lines_velocity = 30.0
-
-[node name="Control" type="Control"]
-margin_right = 40.0
-margin_bottom = 40.0
-
-[node name="Sprite" type="Sprite" parent="."]
-texture = ExtResource( 1 )
-centered = false
-
-[node name="Shaders" type="Control" parent="."]
-margin_right = 40.0
-margin_bottom = 40.0
-
-[node name="Curvature" type="TextureRect" parent="Shaders"]
-visible = false
-material = SubResource( 2 )
-margin_right = 1024.0
-margin_bottom = 600.0
-texture = ExtResource( 2 )
-expand = true
-
-[node name="ColorBleeding" type="TextureRect" parent="Shaders"]
-visible = false
-material = SubResource( 4 )
-margin_right = 1024.0
-margin_bottom = 600.0
-texture = ExtResource( 2 )
-expand = true
-
-[node name="ScanLine" type="TextureRect" parent="Shaders"]
-visible = false
-material = SubResource( 6 )
-margin_right = 1024.0
-margin_bottom = 600.0
-texture = ExtResource( 2 )
-expand = true
-
-[node name="CRT" type="TextureRect" parent="Shaders"]
-material = SubResource( 8 )
-margin_right = 1024.0
-margin_bottom = 600.0
-texture = ExtResource( 2 )
-expand = true
-__meta__ = {
-"_edit_use_anchors_": false
-}
-
-[node name="CRTFrame" type="TextureRect" parent="."]
-margin_right = 1082.0
-margin_bottom = 812.0
-rect_scale = Vector2( 0.946396, 0.738916 )
-texture = ExtResource( 3 )
diff --git a/godot3/default_env.tres b/godot3/default_env.tres
deleted file mode 100644
index 0f8c712..0000000
--- a/godot3/default_env.tres
+++ /dev/null
@@ -1,18 +0,0 @@
-[gd_resource type="Environment" load_steps=2 format=2]
-
-[sub_resource type="ProceduralSky" id=1]
-radiance_size = 4
-sky_top_color = Color( 0.0470588, 0.454902, 0.976471, 1 )
-sky_horizon_color = Color( 0.556863, 0.823529, 0.909804, 1 )
-sky_curve = 0.25
-ground_bottom_color = Color( 0.101961, 0.145098, 0.188235, 1 )
-ground_horizon_color = Color( 0.482353, 0.788235, 0.952941, 1 )
-ground_curve = 0.01
-sun_energy = 16.0
-
-[resource]
-background_mode = 2
-background_sky = SubResource( 1 )
-fog_height_min = 0.0
-fog_height_max = 100.0
-ssao_quality = 0
diff --git a/godot3/icon.png b/godot3/icon.png
deleted file mode 100644
index a0b64ee..0000000
--- a/godot3/icon.png
+++ /dev/null
Binary files differ
diff --git a/godot3/icon.png.import b/godot3/icon.png.import
deleted file mode 100644
index 96cbf46..0000000
--- a/godot3/icon.png.import
+++ /dev/null
@@ -1,34 +0,0 @@
-[remap]
-
-importer="texture"
-type="StreamTexture"
-path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
-metadata={
-"vram_texture": false
-}
-
-[deps]
-
-source_file="res://icon.png"
-dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
-
-[params]
-
-compress/mode=0
-compress/lossy_quality=0.7
-compress/hdr_mode=0
-compress/bptc_ldr=0
-compress/normal_map=0
-flags/repeat=0
-flags/filter=true
-flags/mipmaps=false
-flags/anisotropic=false
-flags/srgb=2
-process/fix_alpha_border=true
-process/premult_alpha=false
-process/HDR_as_SRGB=false
-process/invert_color=false
-stream=false
-size_limit=0
-detect_3d=true
-svg/scale=1.0
diff --git a/godot3/project.godot b/godot3/project.godot
deleted file mode 100644
index 78aa4cf..0000000
--- a/godot3/project.godot
+++ /dev/null
@@ -1,24 +0,0 @@
-; Engine configuration file.
-; It's best edited using the editor UI and not directly,
-; since the parameters that go here are not all obvious.
-;
-; Format:
-; [section] ; section goes between []
-; param=value ; assign values to parameters
-
-config_version=4
-
-_global_script_classes=[ ]
-_global_script_class_icons={
-
-}
-
-[application]
-
-config/name="ShaderTest"
-run/main_scene="res://ShaderTestScreen.tscn"
-config/icon="res://icon.png"
-
-[rendering]
-
-environment/default_environment="res://default_env.tres"
diff --git a/godot3/sample.png b/godot3/sample.png
deleted file mode 100644
index 200fbf8..0000000
--- a/godot3/sample.png
+++ /dev/null
Binary files differ
diff --git a/godot3/sample.png.import b/godot3/sample.png.import
deleted file mode 100644
index 30ae8b5..0000000
--- a/godot3/sample.png.import
+++ /dev/null
@@ -1,34 +0,0 @@
-[remap]
-
-importer="texture"
-type="StreamTexture"
-path="res://.import/sample.png-e83d904df67be35a3470a03c20e2b3c2.stex"
-metadata={
-"vram_texture": false
-}
-
-[deps]
-
-source_file="res://sample.png"
-dest_files=[ "res://.import/sample.png-e83d904df67be35a3470a03c20e2b3c2.stex" ]
-
-[params]
-
-compress/mode=0
-compress/lossy_quality=0.7
-compress/hdr_mode=0
-compress/bptc_ldr=0
-compress/normal_map=0
-flags/repeat=0
-flags/filter=true
-flags/mipmaps=false
-flags/anisotropic=false
-flags/srgb=2
-process/fix_alpha_border=true
-process/premult_alpha=false
-process/HDR_as_SRGB=false
-process/invert_color=false
-stream=false
-size_limit=0
-detect_3d=true
-svg/scale=1.0
diff --git a/godot3/white.png b/godot3/white.png
deleted file mode 100644
index 573faa3..0000000
--- a/godot3/white.png
+++ /dev/null
Binary files differ
diff --git a/godot3/white.png.import b/godot3/white.png.import
deleted file mode 100644
index b7b4631..0000000
--- a/godot3/white.png.import
+++ /dev/null
@@ -1,34 +0,0 @@
-[remap]
-
-importer="texture"
-type="StreamTexture"
-path="res://.import/white.png-d8533361663a5f8fe5200e5b5262a62d.stex"
-metadata={
-"vram_texture": false
-}
-
-[deps]
-
-source_file="res://white.png"
-dest_files=[ "res://.import/white.png-d8533361663a5f8fe5200e5b5262a62d.stex" ]
-
-[params]
-
-compress/mode=0
-compress/lossy_quality=0.7
-compress/hdr_mode=0
-compress/bptc_ldr=0
-compress/normal_map=0
-flags/repeat=0
-flags/filter=true
-flags/mipmaps=false
-flags/anisotropic=false
-flags/srgb=2
-process/fix_alpha_border=true
-process/premult_alpha=false
-process/HDR_as_SRGB=false
-process/invert_color=false
-stream=false
-size_limit=0
-detect_3d=true
-svg/scale=1.0