diff options
author | Henrique Lacreta Alves <henriquelalves@gmail.com> | 2018-03-13 10:59:48 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-13 10:59:48 -0300 |
commit | e1cfe978b25c5d218a2b369db57640b97e7e0b3e (patch) | |
tree | 62ecb34620a2d742a0dc2feaa63e90da03841530 | |
parent | 0d9fa384e7ab23c7dac68ad76c8715e30e180ab4 (diff) | |
parent | f4ff3531b7e42b9b4591dd7460140b2389d520ff (diff) | |
download | plugin-godot-simple-crt-shader-e1cfe978b25c5d218a2b369db57640b97e7e0b3e.tar.gz plugin-godot-simple-crt-shader-e1cfe978b25c5d218a2b369db57640b97e7e0b3e.tar.bz2 plugin-godot-simple-crt-shader-e1cfe978b25c5d218a2b369db57640b97e7e0b3e.zip |
Merge pull request #3 from MohabMohamed/master
Importing to Godot 3.x
-rw-r--r-- | godot2/CRTDisplayShader.shd (renamed from CRTDisplayShader.shd) | bin | 2107 -> 2107 bytes | |||
-rw-r--r-- | godot2/CRTFrame.png (renamed from CRTFrame.png) | bin | 17559 -> 17559 bytes | |||
-rw-r--r-- | godot2/CRTViewportDisplay/CRT.scn (renamed from CRTViewportDisplay/CRT.scn) | bin | 3540 -> 3540 bytes | |||
-rw-r--r-- | godot2/CRTViewportDisplay/CRTDisplayShader.shd (renamed from CRTViewportDisplay/CRTDisplayShader.shd) | bin | 2126 -> 2126 bytes | |||
-rw-r--r-- | godot2/CRTViewportDisplay/CRTFrame.png (renamed from CRTViewportDisplay/CRTFrame.png) | bin | 17559 -> 17559 bytes | |||
-rw-r--r-- | godot2/CRTViewportDisplay/white.png (renamed from CRTViewportDisplay/white.png) | bin | 174 -> 174 bytes | |||
-rw-r--r-- | godot2/ShaderTestsScreen.scn (renamed from ShaderTestsScreen.scn) | bin | 4209 -> 4209 bytes | |||
-rw-r--r-- | godot2/engine.cfg (renamed from engine.cfg) | 0 | ||||
-rw-r--r-- | godot2/icon.png (renamed from icon.png) | bin | 2736 -> 2736 bytes | |||
-rw-r--r-- | godot2/icon.png.flags (renamed from icon.png.flags) | 0 | ||||
-rw-r--r-- | godot2/sample.png | bin | 0 -> 254953 bytes | |||
-rw-r--r-- | godot2/white.png (renamed from white.png) | bin | 174 -> 174 bytes | |||
-rw-r--r-- | godot3/.import/CRTFrame.png-96837578d803d46c371247267c1fa407.stex | bin | 0 -> 18732 bytes | |||
-rw-r--r-- | godot3/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex | bin | 0 -> 3533 bytes | |||
-rw-r--r-- | godot3/.import/sample.png-e83d904df67be35a3470a03c20e2b3c2.stex | bin | 0 -> 254985 bytes | |||
-rw-r--r-- | godot3/.import/white.png-d8533361663a5f8fe5200e5b5262a62d.stex | bin | 0 -> 185 bytes | |||
-rw-r--r-- | godot3/CRTFrame.png | bin | 0 -> 17559 bytes | |||
-rw-r--r-- | godot3/CRTFrame.png.import | 32 | ||||
-rw-r--r-- | godot3/ShaderTestScreen.tscn | 340 | ||||
-rw-r--r-- | godot3/default_env.tres | 101 | ||||
-rw-r--r-- | godot3/icon.png | bin | 0 -> 3498 bytes | |||
-rw-r--r-- | godot3/icon.png.import | 32 | ||||
-rw-r--r-- | godot3/project.godot | 19 | ||||
-rw-r--r-- | godot3/sample.png | bin | 0 -> 254953 bytes | |||
-rw-r--r-- | godot3/sample.png.import | 32 | ||||
-rw-r--r-- | godot3/white.png | bin | 0 -> 174 bytes | |||
-rw-r--r-- | godot3/white.png.import | 32 |
27 files changed, 588 insertions, 0 deletions
diff --git a/CRTDisplayShader.shd b/godot2/CRTDisplayShader.shd Binary files differindex 6b0c8a3..6b0c8a3 100644 --- a/CRTDisplayShader.shd +++ b/godot2/CRTDisplayShader.shd diff --git a/CRTFrame.png b/godot2/CRTFrame.png Binary files differindex 9c5ca46..9c5ca46 100644 --- a/CRTFrame.png +++ b/godot2/CRTFrame.png diff --git a/CRTViewportDisplay/CRT.scn b/godot2/CRTViewportDisplay/CRT.scn Binary files differindex caf3a18..caf3a18 100644 --- a/CRTViewportDisplay/CRT.scn +++ b/godot2/CRTViewportDisplay/CRT.scn diff --git a/CRTViewportDisplay/CRTDisplayShader.shd b/godot2/CRTViewportDisplay/CRTDisplayShader.shd Binary files differindex 4ca4ed4..4ca4ed4 100644 --- a/CRTViewportDisplay/CRTDisplayShader.shd +++ b/godot2/CRTViewportDisplay/CRTDisplayShader.shd diff --git a/CRTViewportDisplay/CRTFrame.png b/godot2/CRTViewportDisplay/CRTFrame.png Binary files differindex 9c5ca46..9c5ca46 100644 --- a/CRTViewportDisplay/CRTFrame.png +++ b/godot2/CRTViewportDisplay/CRTFrame.png diff --git a/CRTViewportDisplay/white.png b/godot2/CRTViewportDisplay/white.png Binary files differindex 573faa3..573faa3 100644 --- a/CRTViewportDisplay/white.png +++ b/godot2/CRTViewportDisplay/white.png diff --git a/ShaderTestsScreen.scn b/godot2/ShaderTestsScreen.scn Binary files differindex 2624d54..2624d54 100644 --- a/ShaderTestsScreen.scn +++ b/godot2/ShaderTestsScreen.scn diff --git a/engine.cfg b/godot2/engine.cfg index 44f4999..44f4999 100644 --- a/engine.cfg +++ b/godot2/engine.cfg diff --git a/icon.png b/godot2/icon.png Binary files differindex c019ef6..c019ef6 100644 --- a/icon.png +++ b/godot2/icon.png diff --git a/icon.png.flags b/godot2/icon.png.flags index 5130fd1..5130fd1 100644 --- a/icon.png.flags +++ b/godot2/icon.png.flags diff --git a/godot2/sample.png b/godot2/sample.png Binary files differnew file mode 100644 index 0000000..200fbf8 --- /dev/null +++ b/godot2/sample.png diff --git a/white.png b/godot2/white.png Binary files differindex 573faa3..573faa3 100644 --- a/white.png +++ b/godot2/white.png diff --git a/godot3/.import/CRTFrame.png-96837578d803d46c371247267c1fa407.stex b/godot3/.import/CRTFrame.png-96837578d803d46c371247267c1fa407.stex Binary files differnew file mode 100644 index 0000000..821c0b6 --- /dev/null +++ b/godot3/.import/CRTFrame.png-96837578d803d46c371247267c1fa407.stex diff --git a/godot3/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex b/godot3/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex Binary files differnew file mode 100644 index 0000000..1f08a3c --- /dev/null +++ b/godot3/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex diff --git a/godot3/.import/sample.png-e83d904df67be35a3470a03c20e2b3c2.stex b/godot3/.import/sample.png-e83d904df67be35a3470a03c20e2b3c2.stex Binary files differnew file mode 100644 index 0000000..47ee8a5 --- /dev/null +++ b/godot3/.import/sample.png-e83d904df67be35a3470a03c20e2b3c2.stex diff --git a/godot3/.import/white.png-d8533361663a5f8fe5200e5b5262a62d.stex b/godot3/.import/white.png-d8533361663a5f8fe5200e5b5262a62d.stex Binary files differnew file mode 100644 index 0000000..8efe585 --- /dev/null +++ b/godot3/.import/white.png-d8533361663a5f8fe5200e5b5262a62d.stex diff --git a/godot3/CRTFrame.png b/godot3/CRTFrame.png Binary files differnew file mode 100644 index 0000000..9c5ca46 --- /dev/null +++ b/godot3/CRTFrame.png diff --git a/godot3/CRTFrame.png.import b/godot3/CRTFrame.png.import new file mode 100644 index 0000000..23593e8 --- /dev/null +++ b/godot3/CRTFrame.png.import @@ -0,0 +1,32 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/CRTFrame.png-96837578d803d46c371247267c1fa407.stex" + +[deps] + +source_file="res://CRTFrame.png" +source_md5="df84d0e7c378fc804ee71ab344da073a" + +dest_files=[ "res://.import/CRTFrame.png-96837578d803d46c371247267c1fa407.stex" ] +dest_md5="1a94df3d4e5bfe9a966b0b9368f408a8" + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/godot3/ShaderTestScreen.tscn b/godot3/ShaderTestScreen.tscn new file mode 100644 index 0000000..5440580 --- /dev/null +++ b/godot3/ShaderTestScreen.tscn @@ -0,0 +1,340 @@ +[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] + +render_priority = 0 +shader = SubResource( 1 ) +shader_param/BarrelPower = 1.1 +_sections_unfolded = [ "Resource", "shader_param" ] + +[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] + +render_priority = 0 +shader = SubResource( 3 ) +shader_param/color_bleeding = null +shader_param/bleeding_range = null +shader_param/screen_width = null + +[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] + +render_priority = 0 +shader = SubResource( 5 ) +shader_param/lines_distance = null +shader_param/pixel_size = null +shader_param/size_screen = null +shader_param/scanline_alpha = null +shader_param/lines_velocity = null + +[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,SCREEN_UV - vec2(pixel_size_x, pixel_size_y)); +vec4 current_color = texture(SCREEN_TEXTURE,SCREEN_UV); +get_color_bleeding(current_color,color_left); +vec4 c = current_color+color_left; +get_color_scanline(xy,c,TIME); +COLOR = c; + +} +" +_sections_unfolded = [ "Resource" ] + +[sub_resource type="ShaderMaterial" id=8] + +render_priority = 0 +shader = SubResource( 7 ) +shader_param/screen_width = null +shader_param/screen_height = null +shader_param/BarrelPower = null +shader_param/color_bleeding = null +shader_param/bleeding_range_x = null +shader_param/bleeding_range_y = null +shader_param/lines_distance = null +shader_param/scan_size = null +shader_param/scanline_alpha = null +shader_param/lines_velocity = null +_sections_unfolded = [ "shader_param" ] + +[node name="Control" type="Control" index="0"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_right = 40.0 +margin_bottom = 40.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +_sections_unfolded = [ "Rect" ] + +[node name="Sprite" type="Sprite" parent="." index="0"] + +texture = ExtResource( 1 ) +centered = false +_sections_unfolded = [ "Offset" ] + +[node name="Shaders" type="Control" parent="." index="1"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_right = 40.0 +margin_bottom = 40.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 + +[node name="Curvature" type="TextureRect" parent="Shaders" index="0"] + +visible = false +material = SubResource( 2 ) +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_right = 1024.0 +margin_bottom = 600.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 1 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +texture = ExtResource( 2 ) +expand = true +stretch_mode = 0 +_sections_unfolded = [ "Material", "Mouse", "Rect" ] + +[node name="ColorBleeding" type="TextureRect" parent="Shaders" index="1"] + +visible = false +material = SubResource( 4 ) +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_right = 1024.0 +margin_bottom = 600.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 1 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +texture = ExtResource( 2 ) +expand = true +stretch_mode = 0 +_sections_unfolded = [ "Material", "Rect" ] + +[node name="ScanLine" type="TextureRect" parent="Shaders" index="2"] + +visible = false +material = SubResource( 6 ) +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_right = 1024.0 +margin_bottom = 600.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 1 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +texture = ExtResource( 2 ) +expand = true +stretch_mode = 0 +_sections_unfolded = [ "Material", "Rect" ] + +[node name="CRT" type="TextureRect" parent="Shaders" index="3"] + +material = SubResource( 8 ) +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_right = 1024.0 +margin_bottom = 600.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 1 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +texture = ExtResource( 2 ) +expand = true +stretch_mode = 0 +_sections_unfolded = [ "Material", "Rect" ] + +[node name="CRTFrame" type="TextureRect" parent="." index="2"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_right = 1082.0 +margin_bottom = 812.0 +rect_scale = Vector2( 0.946396, 0.738916 ) +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 1 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +texture = ExtResource( 3 ) +stretch_mode = 0 +_sections_unfolded = [ "Rect" ] + + diff --git a/godot3/default_env.tres b/godot3/default_env.tres new file mode 100644 index 0000000..ad86b72 --- /dev/null +++ b/godot3/default_env.tres @@ -0,0 +1,101 @@ +[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 +sky_energy = 1.0 +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 +ground_energy = 1.0 +sun_color = Color( 1, 1, 1, 1 ) +sun_latitude = 35.0 +sun_longitude = 0.0 +sun_angle_min = 1.0 +sun_angle_max = 100.0 +sun_curve = 0.05 +sun_energy = 16.0 +texture_size = 2 + +[resource] + +background_mode = 2 +background_sky = SubResource( 1 ) +background_sky_custom_fov = 0.0 +background_color = Color( 0, 0, 0, 1 ) +background_energy = 1.0 +background_canvas_max_layer = 0 +ambient_light_color = Color( 0, 0, 0, 1 ) +ambient_light_energy = 1.0 +ambient_light_sky_contribution = 1.0 +fog_enabled = false +fog_color = Color( 0.5, 0.6, 0.7, 1 ) +fog_sun_color = Color( 1, 0.9, 0.7, 1 ) +fog_sun_amount = 0.0 +fog_depth_enabled = true +fog_depth_begin = 10.0 +fog_depth_curve = 1.0 +fog_transmit_enabled = false +fog_transmit_curve = 1.0 +fog_height_enabled = false +fog_height_min = 0.0 +fog_height_max = 100.0 +fog_height_curve = 1.0 +tonemap_mode = 0 +tonemap_exposure = 1.0 +tonemap_white = 1.0 +auto_exposure_enabled = false +auto_exposure_scale = 0.4 +auto_exposure_min_luma = 0.05 +auto_exposure_max_luma = 8.0 +auto_exposure_speed = 0.5 +ss_reflections_enabled = false +ss_reflections_max_steps = 64 +ss_reflections_fade_in = 0.15 +ss_reflections_fade_out = 2.0 +ss_reflections_depth_tolerance = 0.2 +ss_reflections_roughness = true +ssao_enabled = false +ssao_radius = 1.0 +ssao_intensity = 1.0 +ssao_radius2 = 0.0 +ssao_intensity2 = 1.0 +ssao_bias = 0.01 +ssao_light_affect = 0.0 +ssao_color = Color( 0, 0, 0, 1 ) +ssao_quality = 0 +ssao_blur = 3 +ssao_edge_sharpness = 4.0 +dof_blur_far_enabled = false +dof_blur_far_distance = 10.0 +dof_blur_far_transition = 5.0 +dof_blur_far_amount = 0.1 +dof_blur_far_quality = 1 +dof_blur_near_enabled = false +dof_blur_near_distance = 2.0 +dof_blur_near_transition = 1.0 +dof_blur_near_amount = 0.1 +dof_blur_near_quality = 1 +glow_enabled = false +glow_levels/1 = false +glow_levels/2 = false +glow_levels/3 = true +glow_levels/4 = false +glow_levels/5 = true +glow_levels/6 = false +glow_levels/7 = false +glow_intensity = 0.8 +glow_strength = 1.0 +glow_bloom = 0.0 +glow_blend_mode = 2 +glow_hdr_threshold = 1.0 +glow_hdr_scale = 2.0 +glow_bicubic_upscale = false +adjustment_enabled = false +adjustment_brightness = 1.0 +adjustment_contrast = 1.0 +adjustment_saturation = 1.0 + diff --git a/godot3/icon.png b/godot3/icon.png Binary files differnew file mode 100644 index 0000000..a0b64ee --- /dev/null +++ b/godot3/icon.png diff --git a/godot3/icon.png.import b/godot3/icon.png.import new file mode 100644 index 0000000..7e34d87 --- /dev/null +++ b/godot3/icon.png.import @@ -0,0 +1,32 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" + +[deps] + +source_file="res://icon.png" +source_md5="ae7e641067601e2184afcade49abd283" + +dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ] +dest_md5="84511021bbc8c9d37c7f0f4d181de883" + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/godot3/project.godot b/godot3/project.godot new file mode 100644 index 0000000..403539f --- /dev/null +++ b/godot3/project.godot @@ -0,0 +1,19 @@ +; 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=3 + +[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 Binary files differnew file mode 100644 index 0000000..200fbf8 --- /dev/null +++ b/godot3/sample.png diff --git a/godot3/sample.png.import b/godot3/sample.png.import new file mode 100644 index 0000000..f21cd63 --- /dev/null +++ b/godot3/sample.png.import @@ -0,0 +1,32 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/sample.png-e83d904df67be35a3470a03c20e2b3c2.stex" + +[deps] + +source_file="res://sample.png" +source_md5="03ef0b3e4f811b7b8aeb5aa43211853b" + +dest_files=[ "res://.import/sample.png-e83d904df67be35a3470a03c20e2b3c2.stex" ] +dest_md5="99120c8fe78b2b814e2068903e4a4f0e" + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/godot3/white.png b/godot3/white.png Binary files differnew file mode 100644 index 0000000..573faa3 --- /dev/null +++ b/godot3/white.png diff --git a/godot3/white.png.import b/godot3/white.png.import new file mode 100644 index 0000000..b1e0205 --- /dev/null +++ b/godot3/white.png.import @@ -0,0 +1,32 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/white.png-d8533361663a5f8fe5200e5b5262a62d.stex" + +[deps] + +source_file="res://white.png" +source_md5="b68844373120b3795a9b80a7922d0c76" + +dest_files=[ "res://.import/white.png-d8533361663a5f8fe5200e5b5262a62d.stex" ] +dest_md5="f17f3e225bc88873851ebd43ba696987" + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=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 +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 |