diff --git a/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Diffuse.png b/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Diffuse.png new file mode 100644 index 0000000..81a5097 Binary files /dev/null and b/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Diffuse.png differ diff --git a/addons/compositor-lens-flare/lens-dirt.png.import b/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Diffuse.png.import similarity index 68% rename from addons/compositor-lens-flare/lens-dirt.png.import rename to GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Diffuse.png.import index e3ad9bb..adb82ac 100644 --- a/addons/compositor-lens-flare/lens-dirt.png.import +++ b/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Diffuse.png.import @@ -2,8 +2,8 @@ importer="texture" type="CompressedTexture2D" -uid="uid://detsilp12nioo" -path.s3tc="res://.godot/imported/lens-dirt.png-58b4cc5b654fba956851bc4f0ff8b21a.s3tc.ctex" +uid="uid://pud4itdh01sq" +path.s3tc="res://.godot/imported/Cube LP_Bake1_PBR StoA_Diffuse.png-61864fa872ce37d3d81bc5d9623a4b07.s3tc.ctex" metadata={ "imported_formats": ["s3tc_bptc"], "vram_texture": true @@ -11,8 +11,8 @@ metadata={ [deps] -source_file="res://addons/compositor-lens-flare/lens-dirt.png" -dest_files=["res://.godot/imported/lens-dirt.png-58b4cc5b654fba956851bc4f0ff8b21a.s3tc.ctex"] +source_file="res://GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Diffuse.png" +dest_files=["res://.godot/imported/Cube LP_Bake1_PBR StoA_Diffuse.png-61864fa872ce37d3d81bc5d9623a4b07.s3tc.ctex"] [params] diff --git a/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Emission.png b/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Emission.png new file mode 100644 index 0000000..81a5097 Binary files /dev/null and b/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Emission.png differ diff --git a/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Emission.png.import b/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Emission.png.import new file mode 100644 index 0000000..66631f2 --- /dev/null +++ b/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Emission.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ddot3wjfq01mo" +path.s3tc="res://.godot/imported/Cube LP_Bake1_PBR StoA_Emission.png-4620fd51f25e60ff862a6ec344015c96.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Emission.png" +dest_files=["res://.godot/imported/Cube LP_Bake1_PBR StoA_Emission.png-4620fd51f25e60ff862a6ec344015c96.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Metalness-Cube LP_Bake1_PBR StoA_Roughness.png b/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Metalness-Cube LP_Bake1_PBR StoA_Roughness.png new file mode 100644 index 0000000..67de170 Binary files /dev/null and b/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Metalness-Cube LP_Bake1_PBR StoA_Roughness.png differ diff --git a/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Metalness-Cube LP_Bake1_PBR StoA_Roughness.png.import b/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Metalness-Cube LP_Bake1_PBR StoA_Roughness.png.import new file mode 100644 index 0000000..313364b --- /dev/null +++ b/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Metalness-Cube LP_Bake1_PBR StoA_Roughness.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bwsgfb0b4okj4" +path.s3tc="res://.godot/imported/Cube LP_Bake1_PBR StoA_Metalness-Cube LP_Bake1_PBR StoA_Roughness.png-648a3878c2b1f83ba5eea67b9af3c75a.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Metalness-Cube LP_Bake1_PBR StoA_Roughness.png" +dest_files=["res://.godot/imported/Cube LP_Bake1_PBR StoA_Metalness-Cube LP_Bake1_PBR StoA_Roughness.png-648a3878c2b1f83ba5eea67b9af3c75a.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Normal.png b/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Normal.png new file mode 100644 index 0000000..3d5cf3b Binary files /dev/null and b/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Normal.png differ diff --git a/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Normal.png.import b/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Normal.png.import new file mode 100644 index 0000000..ca7f1b1 --- /dev/null +++ b/GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Normal.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cahr6efa5lasl" +path="res://.godot/imported/Cube LP_Bake1_PBR StoA_Normal.png-314a8b3de70d95c7d2c84ca5516e1cb0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Normal.png" +dest_files=["res://.godot/imported/Cube LP_Bake1_PBR StoA_Normal.png-314a8b3de70d95c7d2c84ca5516e1cb0.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=1 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=1 +roughness/src_normal="res://GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Normal.png" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/GameObjects/Round-Cobe/Baked/Rounded-Cube-Baked.bin b/GameObjects/Round-Cobe/Baked/Rounded-Cube-Baked.bin new file mode 100644 index 0000000..9cd1dfd Binary files /dev/null and b/GameObjects/Round-Cobe/Baked/Rounded-Cube-Baked.bin differ diff --git a/GameObjects/Round-Cobe/Baked/Rounded-Cube-Baked.gltf b/GameObjects/Round-Cobe/Baked/Rounded-Cube-Baked.gltf new file mode 100644 index 0000000..4f75f69 --- /dev/null +++ b/GameObjects/Round-Cobe/Baked/Rounded-Cube-Baked.gltf @@ -0,0 +1,181 @@ +{ + "asset":{ + "generator":"Khronos glTF Blender I/O v3.6.27", + "version":"2.0" + }, + "scene":0, + "scenes":[ + { + "name":"Scene", + "nodes":[ + 0 + ] + } + ], + "nodes":[ + { + "mesh":0, + "name":"Cube LP_Baked", + "scale":[ + 0.8808151483535767, + 0.8808151483535767, + 0.8808151483535767 + ] + } + ], + "materials":[ + { + "doubleSided":true, + "emissiveFactor":[ + 1, + 1, + 1 + ], + "emissiveTexture":{ + "index":0 + }, + "name":"Cube LP_Baked", + "normalTexture":{ + "index":1 + }, + "pbrMetallicRoughness":{ + "baseColorTexture":{ + "index":2 + }, + "metallicRoughnessTexture":{ + "index":3 + } + } + } + ], + "meshes":[ + { + "name":"Cube.010", + "primitives":[ + { + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + }, + "indices":3, + "material":0 + } + ] + } + ], + "textures":[ + { + "sampler":0, + "source":0 + }, + { + "sampler":0, + "source":1 + }, + { + "sampler":0, + "source":2 + }, + { + "sampler":0, + "source":3 + } + ], + "images":[ + { + "mimeType":"image/png", + "name":"Cube LP_Bake1_PBR StoA_Emission", + "uri":"Cube%20LP_Bake1_PBR%20StoA_Emission.png" + }, + { + "mimeType":"image/png", + "name":"Cube LP_Bake1_PBR StoA_Normal", + "uri":"Cube%20LP_Bake1_PBR%20StoA_Normal.png" + }, + { + "mimeType":"image/png", + "name":"Cube LP_Bake1_PBR StoA_Diffuse", + "uri":"Cube%20LP_Bake1_PBR%20StoA_Diffuse.png" + }, + { + "mimeType":"image/png", + "name":"Cube LP_Bake1_PBR StoA_Metalness-Cube LP_Bake1_PBR StoA_Roughness", + "uri":"Cube%20LP_Bake1_PBR%20StoA_Metalness-Cube%20LP_Bake1_PBR%20StoA_Roughness.png" + } + ], + "accessors":[ + { + "bufferView":0, + "componentType":5126, + "count":263, + "max":[ + 0.9831128716468811, + 0.9831128716468811, + 0.9831128716468811 + ], + "min":[ + -0.9831128716468811, + -0.9831128716468811, + -0.9831128716468811 + ], + "type":"VEC3" + }, + { + "bufferView":1, + "componentType":5126, + "count":263, + "type":"VEC3" + }, + { + "bufferView":2, + "componentType":5126, + "count":263, + "type":"VEC2" + }, + { + "bufferView":3, + "componentType":5123, + "count":1296, + "type":"SCALAR" + } + ], + "bufferViews":[ + { + "buffer":0, + "byteLength":3156, + "byteOffset":0, + "target":34962 + }, + { + "buffer":0, + "byteLength":3156, + "byteOffset":3156, + "target":34962 + }, + { + "buffer":0, + "byteLength":2104, + "byteOffset":6312, + "target":34962 + }, + { + "buffer":0, + "byteLength":2592, + "byteOffset":8416, + "target":34963 + } + ], + "samplers":[ + { + "magFilter":9729, + "minFilter":9987 + } + ], + "buffers":[ + { + "byteLength":11008, + "uri":"Rounded-Cube-Baked.bin" + } + ] +} diff --git a/GameObjects/Round-Cobe/Baked/Rounded-Cube-Baked.gltf.import b/GameObjects/Round-Cobe/Baked/Rounded-Cube-Baked.gltf.import new file mode 100644 index 0000000..9f9f34b --- /dev/null +++ b/GameObjects/Round-Cobe/Baked/Rounded-Cube-Baked.gltf.import @@ -0,0 +1,42 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://cv5j1yrrlt7le" +path="res://.godot/imported/Rounded-Cube-Baked.gltf-c3142cf8cc79104d0e1d87ab6fd48116.scn" + +[deps] + +source_file="res://GameObjects/Round-Cobe/Baked/Rounded-Cube-Baked.gltf" +dest_files=["res://.godot/imported/Rounded-Cube-Baked.gltf-c3142cf8cc79104d0e1d87ab6fd48116.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={} +gltf/naming_version=2 +gltf/embedded_image_handling=1 diff --git a/GameObjects/Round-Cobe/Baked/Rounded-Cube-Baked.zip b/GameObjects/Round-Cobe/Baked/Rounded-Cube-Baked.zip new file mode 100644 index 0000000..57585f2 Binary files /dev/null and b/GameObjects/Round-Cobe/Baked/Rounded-Cube-Baked.zip differ diff --git a/GameObjects/Round-Cobe/Rounded-Cube.blend b/GameObjects/Round-Cobe/Rounded-Cube.blend new file mode 100644 index 0000000..c2cb984 Binary files /dev/null and b/GameObjects/Round-Cobe/Rounded-Cube.blend differ diff --git a/GameObjects/Round-Cobe/Rounded-Cube.blend.import b/GameObjects/Round-Cobe/Rounded-Cube.blend.import new file mode 100644 index 0000000..ed6522e --- /dev/null +++ b/GameObjects/Round-Cobe/Rounded-Cube.blend.import @@ -0,0 +1,59 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://dua1ywlp51rg0" +path="res://.godot/imported/Rounded-Cube.blend-86f1d40fe710e4e56500f76a98eb0714.scn" + +[deps] + +source_file="res://GameObjects/Round-Cobe/Rounded-Cube.blend" +dest_files=["res://.godot/imported/Rounded-Cube.blend-86f1d40fe710e4e56500f76a98eb0714.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={} +blender/nodes/visible=0 +blender/nodes/active_collection_only=false +blender/nodes/punctual_lights=true +blender/nodes/cameras=true +blender/nodes/custom_properties=true +blender/nodes/modifiers=1 +blender/meshes/colors=false +blender/meshes/uvs=true +blender/meshes/normals=true +blender/meshes/export_geometry_nodes_instances=false +blender/meshes/tangents=true +blender/meshes/skins=2 +blender/meshes/export_bones_deforming_mesh_only=false +blender/materials/unpack_enabled=true +blender/materials/export_materials=1 +blender/animation/limit_playback=true +blender/animation/always_sample=true +blender/animation/group_tracks=true +gltf/naming_version=2 diff --git a/GameObjects/Round-Cobe/Rounded-Cube.blend1 b/GameObjects/Round-Cobe/Rounded-Cube.blend1 new file mode 100644 index 0000000..60e68a2 Binary files /dev/null and b/GameObjects/Round-Cobe/Rounded-Cube.blend1 differ diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat.fbx b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat.fbx new file mode 100644 index 0000000..854f2fa Binary files /dev/null and b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat.fbx differ diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat.fbx.import b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat.fbx.import new file mode 100644 index 0000000..c2789d1 --- /dev/null +++ b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat.fbx.import @@ -0,0 +1,44 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://dui2866p6d36l" +path="res://.godot/imported/Cube LP Flat.fbx-053339c4f90eb6bc4892df111463eb85.scn" + +[deps] + +source_file="res://GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat.fbx" +dest_files=["res://.godot/imported/Cube LP Flat.fbx-053339c4f90eb6bc4892df111463eb85.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=true +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={} +fbx/importer=0 +fbx/allow_geometry_helper_nodes=false +fbx/embedded_image_handling=1 +fbx/naming_version=2 diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Diffuse.png b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Diffuse.png new file mode 100644 index 0000000..590dbb8 Binary files /dev/null and b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Diffuse.png differ diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Diffuse.png.import b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Diffuse.png.import new file mode 100644 index 0000000..993b0ec --- /dev/null +++ b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Diffuse.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c6v5rc7m3guai" +path.s3tc="res://.godot/imported/Cube LP Flat_Bake1_PBR StoA_Diffuse.png-f02f4afd909eb6c3efe3252677847f79.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Diffuse.png" +dest_files=["res://.godot/imported/Cube LP Flat_Bake1_PBR StoA_Diffuse.png-f02f4afd909eb6c3efe3252677847f79.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Emission.png b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Emission.png new file mode 100644 index 0000000..590dbb8 Binary files /dev/null and b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Emission.png differ diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Emission.png.import b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Emission.png.import new file mode 100644 index 0000000..991ae4d --- /dev/null +++ b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Emission.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://djmiftbqhbji1" +path.s3tc="res://.godot/imported/Cube LP Flat_Bake1_PBR StoA_Emission.png-695b73b3624f4a860614e871cdd58554.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Emission.png" +dest_files=["res://.godot/imported/Cube LP Flat_Bake1_PBR StoA_Emission.png-695b73b3624f4a860614e871cdd58554.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Metalness.png b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Metalness.png new file mode 100644 index 0000000..0fcb93e Binary files /dev/null and b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Metalness.png differ diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Metalness.png.import b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Metalness.png.import new file mode 100644 index 0000000..334893f --- /dev/null +++ b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Metalness.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://w67vbmcjbog3" +path="res://.godot/imported/Cube LP Flat_Bake1_PBR StoA_Metalness.png-17993111a7088135a7439e09c42c4297.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Metalness.png" +dest_files=["res://.godot/imported/Cube LP Flat_Bake1_PBR StoA_Metalness.png-17993111a7088135a7439e09c42c4297.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Normal.png b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Normal.png new file mode 100644 index 0000000..fb5a06f Binary files /dev/null and b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Normal.png differ diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Normal.png.import b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Normal.png.import new file mode 100644 index 0000000..fa5188e --- /dev/null +++ b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Normal.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c3mdxuvpllkax" +path.s3tc="res://.godot/imported/Cube LP Flat_Bake1_PBR StoA_Normal.png-60c9b351f8d3e73d74f5ffdad84fbf15.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Normal.png" +dest_files=["res://.godot/imported/Cube LP Flat_Bake1_PBR StoA_Normal.png-60c9b351f8d3e73d74f5ffdad84fbf15.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=1 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=1 +roughness/src_normal="res://GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Normal.png" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Roughness.png b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Roughness.png new file mode 100644 index 0000000..d956d4b Binary files /dev/null and b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Roughness.png differ diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Roughness.png.import b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Roughness.png.import new file mode 100644 index 0000000..6e61937 --- /dev/null +++ b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Roughness.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://y61sguhmmvoj" +path.s3tc="res://.godot/imported/Cube LP Flat_Bake1_PBR StoA_Roughness.png-f2ba4c658c7dec410423b99c00ab6c09.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR StoA_Roughness.png" +dest_files=["res://.godot/imported/Cube LP Flat_Bake1_PBR StoA_Roughness.png-f2ba4c658c7dec410423b99c00ab6c09.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR_Ambient Occlusion.png b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR_Ambient Occlusion.png new file mode 100644 index 0000000..699e3c0 Binary files /dev/null and b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR_Ambient Occlusion.png differ diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR_Ambient Occlusion.png.import b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR_Ambient Occlusion.png.import new file mode 100644 index 0000000..7accb6b --- /dev/null +++ b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR_Ambient Occlusion.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ojcdd1nkb4l6" +path="res://.godot/imported/Cube LP Flat_Bake1_PBR_Ambient Occlusion.png-1179acc6bd0f2091fb68644dbf58300c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP Flat/Cube LP Flat_Bake1_PBR_Ambient Occlusion.png" +dest_files=["res://.godot/imported/Cube LP Flat_Bake1_PBR_Ambient Occlusion.png-1179acc6bd0f2091fb68644dbf58300c.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP.fbx b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP.fbx new file mode 100644 index 0000000..28e03ec Binary files /dev/null and b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP.fbx differ diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP.fbx.import b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP.fbx.import new file mode 100644 index 0000000..c39ae62 --- /dev/null +++ b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP.fbx.import @@ -0,0 +1,44 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://dbxephjqfl2oy" +path="res://.godot/imported/Cube LP.fbx-ed08079d79329097da102f4f26c55a70.scn" + +[deps] + +source_file="res://GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP.fbx" +dest_files=["res://.godot/imported/Cube LP.fbx-ed08079d79329097da102f4f26c55a70.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=true +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={} +fbx/importer=0 +fbx/allow_geometry_helper_nodes=false +fbx/embedded_image_handling=1 +fbx/naming_version=2 diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Diffuse.png b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Diffuse.png new file mode 100644 index 0000000..81a5097 Binary files /dev/null and b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Diffuse.png differ diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Diffuse.png.import b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Diffuse.png.import new file mode 100644 index 0000000..c705d9a --- /dev/null +++ b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Diffuse.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://srqe6nvru3ss" +path.s3tc="res://.godot/imported/Cube LP_Bake1_PBR StoA_Diffuse.png-3eca1e3af93043651c0f62d6cfbde6ab.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Diffuse.png" +dest_files=["res://.godot/imported/Cube LP_Bake1_PBR StoA_Diffuse.png-3eca1e3af93043651c0f62d6cfbde6ab.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Emission.png b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Emission.png new file mode 100644 index 0000000..81a5097 Binary files /dev/null and b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Emission.png differ diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Emission.png.import b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Emission.png.import new file mode 100644 index 0000000..4454a17 --- /dev/null +++ b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Emission.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b2np3t2e4lvgk" +path.s3tc="res://.godot/imported/Cube LP_Bake1_PBR StoA_Emission.png-1febe6b444c696d2245ffe2ab0d154f5.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Emission.png" +dest_files=["res://.godot/imported/Cube LP_Bake1_PBR StoA_Emission.png-1febe6b444c696d2245ffe2ab0d154f5.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Metalness.png b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Metalness.png new file mode 100644 index 0000000..21b436d Binary files /dev/null and b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Metalness.png differ diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Metalness.png.import b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Metalness.png.import new file mode 100644 index 0000000..05683ad --- /dev/null +++ b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Metalness.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cdmvmtlpohk2b" +path="res://.godot/imported/Cube LP_Bake1_PBR StoA_Metalness.png-2674c2aaf2d5c11f7384bcf1bb804f08.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Metalness.png" +dest_files=["res://.godot/imported/Cube LP_Bake1_PBR StoA_Metalness.png-2674c2aaf2d5c11f7384bcf1bb804f08.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Normal.png b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Normal.png new file mode 100644 index 0000000..3d5cf3b Binary files /dev/null and b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Normal.png differ diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Normal.png.import b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Normal.png.import new file mode 100644 index 0000000..ecaee55 --- /dev/null +++ b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Normal.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://glj22xxa2hxb" +path.s3tc="res://.godot/imported/Cube LP_Bake1_PBR StoA_Normal.png-25fac49fb7b0744292879e94e03073ec.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Normal.png" +dest_files=["res://.godot/imported/Cube LP_Bake1_PBR StoA_Normal.png-25fac49fb7b0744292879e94e03073ec.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=1 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=1 +roughness/src_normal="res://GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Normal.png" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Roughness.png b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Roughness.png new file mode 100644 index 0000000..2bb0c5d Binary files /dev/null and b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Roughness.png differ diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Roughness.png.import b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Roughness.png.import new file mode 100644 index 0000000..a387eaa --- /dev/null +++ b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Roughness.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://gtnnut26ft5s" +path.s3tc="res://.godot/imported/Cube LP_Bake1_PBR StoA_Roughness.png-63b4f656cffef229c34e6f7c270ae465.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR StoA_Roughness.png" +dest_files=["res://.godot/imported/Cube LP_Bake1_PBR StoA_Roughness.png-63b4f656cffef229c34e6f7c270ae465.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=0 diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR_Ambient Occlusion.png b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR_Ambient Occlusion.png new file mode 100644 index 0000000..d265d64 Binary files /dev/null and b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR_Ambient Occlusion.png differ diff --git a/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR_Ambient Occlusion.png.import b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR_Ambient Occlusion.png.import new file mode 100644 index 0000000..7cae645 --- /dev/null +++ b/GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR_Ambient Occlusion.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ds8dk70bcilxt" +path="res://.godot/imported/Cube LP_Bake1_PBR_Ambient Occlusion.png-a2abe339d671a879b327868cca68fa72.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://GameObjects/Round-Cobe/SimpleBake_Bakes/Cube LP/Cube LP_Bake1_PBR_Ambient Occlusion.png" +dest_files=["res://.godot/imported/Cube LP_Bake1_PBR_Ambient Occlusion.png-a2abe339d671a879b327868cca68fa72.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/GameObjects/Round-Cobe/round-cube.bin b/GameObjects/Round-Cobe/round-cube.bin new file mode 100644 index 0000000..c51d3d2 Binary files /dev/null and b/GameObjects/Round-Cobe/round-cube.bin differ diff --git a/GameObjects/Round-Cobe/round-cube.gltf b/GameObjects/Round-Cobe/round-cube.gltf new file mode 100644 index 0000000..c8c0417 --- /dev/null +++ b/GameObjects/Round-Cobe/round-cube.gltf @@ -0,0 +1,121 @@ +{ + "asset":{ + "generator":"Khronos glTF Blender I/O v4.0.44", + "version":"2.0" + }, + "scene":0, + "scenes":[ + { + "name":"Scene", + "nodes":[ + 0 + ] + } + ], + "nodes":[ + { + "mesh":0, + "name":"Cube" + } + ], + "materials":[ + { + "doubleSided":true, + "name":"Material", + "pbrMetallicRoughness":{ + "baseColorFactor":[ + 0, + 0, + 0, + 1 + ], + "metallicFactor":0, + "roughnessFactor":0.25196850299835205 + } + } + ], + "meshes":[ + { + "name":"Cube", + "primitives":[ + { + "attributes":{ + "POSITION":0, + "NORMAL":1, + "TEXCOORD_0":2 + }, + "indices":3, + "material":0 + } + ] + } + ], + "accessors":[ + { + "bufferView":0, + "componentType":5126, + "count":957, + "max":[ + 0.968052864074707, + 0.968052864074707, + 0.968052864074707 + ], + "min":[ + -0.968052864074707, + -0.9680528044700623, + -0.968052864074707 + ], + "type":"VEC3" + }, + { + "bufferView":1, + "componentType":5126, + "count":957, + "type":"VEC3" + }, + { + "bufferView":2, + "componentType":5126, + "count":957, + "type":"VEC2" + }, + { + "bufferView":3, + "componentType":5123, + "count":5184, + "type":"SCALAR" + } + ], + "bufferViews":[ + { + "buffer":0, + "byteLength":11484, + "byteOffset":0, + "target":34962 + }, + { + "buffer":0, + "byteLength":11484, + "byteOffset":11484, + "target":34962 + }, + { + "buffer":0, + "byteLength":7656, + "byteOffset":22968, + "target":34962 + }, + { + "buffer":0, + "byteLength":10368, + "byteOffset":30624, + "target":34963 + } + ], + "buffers":[ + { + "byteLength":40992, + "uri":"round-cube.bin" + } + ] +} diff --git a/GameObjects/Round-Cobe/round-cube.gltf.import b/GameObjects/Round-Cobe/round-cube.gltf.import new file mode 100644 index 0000000..0fef0c8 --- /dev/null +++ b/GameObjects/Round-Cobe/round-cube.gltf.import @@ -0,0 +1,42 @@ +[remap] + +importer="scene" +importer_version=1 +type="PackedScene" +uid="uid://d3kf8vdvy8ihe" +path="res://.godot/imported/round-cube.gltf-d15011073af444cfd3419588b7f099b6.scn" + +[deps] + +source_file="res://GameObjects/Round-Cobe/round-cube.gltf" +dest_files=["res://.godot/imported/round-cube.gltf-d15011073af444cfd3419588b7f099b6.scn"] + +[params] + +nodes/root_type="" +nodes/root_name="" +nodes/root_script=null +nodes/apply_root_scale=true +nodes/root_scale=1.0 +nodes/import_as_skeleton_bones=false +nodes/use_name_suffixes=true +nodes/use_node_type_suffixes=true +meshes/ensure_tangents=true +meshes/generate_lods=true +meshes/create_shadow_meshes=true +meshes/light_baking=1 +meshes/lightmap_texel_size=0.2 +meshes/force_disable_compression=false +skins/use_named_skins=true +animation/import=true +animation/fps=30 +animation/trimming=false +animation/remove_immutable_tracks=true +animation/import_rest_as_RESET=false +import_script/path="" +materials/extract=0 +materials/extract_format=0 +materials/extract_path="" +_subresources={} +gltf/naming_version=2 +gltf/embedded_image_handling=1 diff --git a/Main/Main.tscn b/Main/Main.tscn index e10644b..96f8c72 100644 --- a/Main/Main.tscn +++ b/Main/Main.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=677 format=4 uid="uid://b5l8s4mmexi0m"] +[gd_scene load_steps=722 format=4 uid="uid://b5l8s4mmexi0m"] [ext_resource type="Script" uid="uid://dedtmhyfax8p0" path="res://addons/rokojori_action_library/Runtime/App/Main.cs" id="1_rii6w"] [ext_resource type="Script" uid="uid://dyf6ee3ov3ran" path="res://addons/rokojori_action_library/Runtime/Actions/OnReady.cs" id="2_bdfmq"] @@ -36,12 +36,12 @@ [ext_resource type="Shader" uid="uid://b734lcqo4dptn" path="res://GameObjects/Fir/FirShader.gdshader" id="18_oxa7j"] [ext_resource type="Script" uid="uid://dna13qop6b0na" path="res://addons/rokojori_action_library/Runtime/Cameras/CameraSlot.cs" id="19_nrysi"] [ext_resource type="Shader" uid="uid://b3upbrj3uyf4j" path="res://GameObjects/Grass/Grass.gdshader" id="19_oluvp"] -[ext_resource type="Script" uid="uid://bgiluy6xgcvb0" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffects/Vignette/VignetteEffect.cs" id="20_jkd0a"] +[ext_resource type="Script" uid="uid://bgiluy6xgcvb0" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffects/Overlay/Vignette/VignetteEffect.cs" id="20_jkd0a"] [ext_resource type="Shader" uid="uid://ck6k3e47rfj83" path="res://GameObjects/Ground/Ground.gdshader" id="20_vi7gu"] [ext_resource type="Shader" uid="uid://dfeyht816trv3" path="res://GameObjects/Foliage/Foliage-Shader-Overlay.gdshader" id="21_swm2d"] [ext_resource type="Shader" uid="uid://cvvvtd2favpnl" path="res://GameObjects/Foliage/Foliage-Shader-Highlight.gdshader" id="22_5kble"] [ext_resource type="Script" uid="uid://3e3n1jav7rh2" path="res://addons/rokojori_action_library/Runtime/Shading/Properties/Properties/SetGlobalVector3PropertyFromNode.cs" id="23_524ac"] -[ext_resource type="Script" uid="uid://bkcgo0ho1x6ju" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffects/Rim/RimEffect.cs" id="23_rpmi0"] +[ext_resource type="Script" uid="uid://bkcgo0ho1x6ju" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffects/Edge/Rim/RimEffect.cs" id="23_rpmi0"] [ext_resource type="Script" uid="uid://bbrqjqs6dc1hy" path="res://addons/rokojori_action_library/Runtime/Cameras/EditorCamera/EditorCamera.cs" id="23_yr58t"] [ext_resource type="Script" uid="uid://crygvwrg2uvvk" path="res://addons/rokojori_action_library/Runtime/Cameras/CameraTypes/ThirdPersonCamera/ThirdPersonCamera.cs" id="24_ntqly"] [ext_resource type="Script" uid="uid://cl36x2jgfuypo" path="res://addons/rokojori_action_library/Runtime/Actions/OnProcess.cs" id="25_bm7sa"] @@ -144,15 +144,20 @@ [ext_resource type="Script" uid="uid://chqp2otobal7a" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffectReferences/CompositorEffectLayerSlot.cs" id="63_u533a"] [ext_resource type="Resource" uid="uid://dgxeibp77r1wy" path="res://addons/rokojori_action_library/Runtime/Cameras/EditorCamera/Inputs/MouseEditorCamera Default Inputs.tres" id="64_u7p5w"] [ext_resource type="PackedScene" uid="uid://bxkp71wpnfu0x" path="res://UI/Collectables/Collectable Label.tscn" id="65_nlcvw"] -[ext_resource type="Script" uid="uid://cjfxcl3cdhnku" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffects/LightnessBasedAdjustment/LightnessBasedAdjustmentEffect.cs" id="65_s46u1"] +[ext_resource type="Script" uid="uid://cjfxcl3cdhnku" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffects/Color/LightnessBasedAdjustment/LightnessBasedAdjustmentEffect.cs" id="65_s46u1"] +[ext_resource type="Script" uid="uid://dvvfvlutisecy" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/AnimationTargets/CompFXMemberCurveTarget.cs" id="67_1er25"] [ext_resource type="Resource" uid="uid://bwhnq7w0tpgv" path="res://VFX/Action FX Compositor Effect Layer.tres" id="68_762km"] +[ext_resource type="Script" uid="uid://comuvej4dr22k" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffectReferences/RokojoriCompositorEffectID.cs" id="68_fqrsx"] [ext_resource type="PackedScene" uid="uid://bvffeq7sqvrwk" path="res://assets/KayKit_DungeonRemastered_1.1_FREE/Assets/gltf/table_long.gltf" id="68_pld03"] [ext_resource type="Script" uid="uid://dj6f8ie4bmaim" path="res://addons/rokojori_action_library/Runtime/Actions/Conditional/ConditionalAction.cs" id="70_q0f75"] [ext_resource type="Script" uid="uid://bgw3wuqxbwrb0" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffects/AntiAliasing/FXAA/FXAAEffect.cs" id="70_wi6eu"] [ext_resource type="Script" uid="uid://cwjgw33krmh11" path="res://addons/rokojori_action_library/Runtime/Time/Duration/BeatsDuration.cs" id="71_4wsps"] [ext_resource type="AudioStream" uid="uid://dltk1xw3s35qw" path="res://Audio/Sounds/Foot Steps/WinterTales - FootSteps.ogg" id="72_dis6l"] [ext_resource type="Resource" uid="uid://daivy2l77st5v" path="res://GameObjects/Collectable-Collisions.tres" id="72_jguvn"] -[ext_resource type="Script" uid="uid://pevgspwywsxi" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffects/HSLAdjustment/HSLAdjustmentEffect.cs" id="74_c5ng7"] +[ext_resource type="Script" uid="uid://cidk0x7sb1pxl" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffects/Distortion/NoiseDistortion/NoiseDistortionEffect.cs" id="73_7720d"] +[ext_resource type="Script" uid="uid://b2oxy6ln560ys" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffects/Color/ColorQuantizer/ColorQuantizerEffect.cs" id="74_a3id7"] +[ext_resource type="Script" uid="uid://pevgspwywsxi" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffects/Color/HSLAdjustment/HSLAdjustmentEffect.cs" id="74_c5ng7"] +[ext_resource type="Script" uid="uid://cowk70ifagygb" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffects/Blur&Sharpen/TemporalBlur/TemporalBlurEffect.cs" id="75_ie6m2"] [ext_resource type="Script" uid="uid://kodskdb1mcd4" path="res://addons/rokojori_action_library/Runtime/Interactions/CharacterController/CharacterMovements/TurnMovementType.cs" id="76_12vd0"] [ext_resource type="Resource" uid="uid://dfqc5ainuim21" path="res://Character/Player-Collector.tres" id="77_7drkg"] [ext_resource type="Resource" uid="uid://bkfi5scnncqqe" path="res://UI/Dialog/Dialog Hidden Styel.tres" id="77_dq7d0"] @@ -174,8 +179,10 @@ [ext_resource type="Script" uid="uid://ccfk70dpt7r7r" path="res://addons/rokojori_action_library/Runtime/Interactions/Collecting/Collector.cs" id="83_3o18d"] [ext_resource type="Resource" uid="uid://c63le61ap244y" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorVFXPresets/Glow/Red Cinematic Bloom.tres" id="83_762km"] [ext_resource type="Resource" uid="uid://cxxb8xq3xpa6d" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorVFXPresets/Glow/Rainbow Star Glow.tres" id="84_c05wc"] +[ext_resource type="Script" uid="uid://ckixweetchlo0" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffectReferences/CompositorVFXPreset.cs" id="85_btbfg"] [ext_resource type="Resource" uid="uid://ciirupc5c1rvf" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorVFXPresets/Character/Drunken.tres" id="85_i46l2"] [ext_resource type="Resource" uid="uid://cr7dvu2sqcidy" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorVFXPresets/Blur/Overlayed Bokeh Blur .tres" id="86_4545n"] +[ext_resource type="Resource" uid="uid://0blw3yhjw7y0" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorVFXPresets/Screen/Sketch.tres" id="86_d1ujc"] [ext_resource type="Resource" uid="uid://bupv437tvb5yf" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorVFXPresets/Screen/Old Film.tres" id="86_t5au6"] [ext_resource type="Script" uid="uid://b2ik21q1iwjvo" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffectReferences/CompositorEffectLayer.cs" id="87_btbfg"] [ext_resource type="Script" uid="uid://cx5qcow1mmd11" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffectReferences/CompositorEffectOwner.cs" id="87_m7r8b"] @@ -200,6 +207,8 @@ [ext_resource type="Script" uid="uid://cuqknlygn6vxe" path="res://addons/rokojori_action_library/Runtime/Interactions/CharacterController/Actions/SetCharacterControllerAction.cs" id="92_vgxo8"] [ext_resource type="AudioStream" uid="uid://b5uyb53maa0t1" path="res://Audio/Sounds/Collecting/WinterTales - Collect SFX.ogg" id="93_f80vp"] [ext_resource type="Script" uid="uid://bqk5po80nylsk" path="res://addons/rokojori_action_library/Runtime/Shading/Generators/Spatial/Fading/FadingModule.cs" id="93_qrr03"] +[ext_resource type="Script" uid="uid://bx4j8ic80vl7f" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorEffects/Edge/DepthOutlines/DepthOutlinesEffect.cs" id="94_4545n"] +[ext_resource type="Script" uid="uid://drcp6asmxo5j4" path="res://VFX/CompositorVFXFader.cs" id="94_i46l2"] [ext_resource type="Script" uid="uid://drc5hdnwme7be" path="res://addons/rokojori_action_library/Runtime/Shading/Generators/Spatial/Geometry/GeometryModule.cs" id="94_xwk5p"] [ext_resource type="Script" uid="uid://yoc4tx8ahe6b" path="res://addons/rokojori_action_library/Runtime/Shading/Generators/Spatial/Masks/SpatialMasksModule.cs" id="95_hkpmc"] [ext_resource type="Resource" uid="uid://d1uubsqnvu1qe" path="res://addons/rokojori_action_library/Runtime/Rendering/Compositor/CompositorVFXPresets/Physical/Super Speed.tres" id="96_btbfg"] @@ -294,11 +303,16 @@ [ext_resource type="Script" uid="uid://dnwqkymbre3vb" path="res://addons/rokojori_action_library/Runtime/Animation/Flash/Flash.cs" id="224_p54pa"] [ext_resource type="Script" uid="uid://bnhnintao4qu0" path="res://addons/rokojori_action_library/Runtime/Animation/Shake/Shake.cs" id="226_p54pa"] [ext_resource type="Resource" uid="uid://di1vy33cwab4s" path="res://addons/rokojori_action_library/Runtime/Animation/Highlight/Presets/Yellow Scan Outline - Highlight.tres" id="229_q4rtx"] +[ext_resource type="Script" uid="uid://c2m6vuo3nucna" path="res://addons/rokojori_action_library/Runtime/Actions/GDScriptAction.cs" id="232_m7r8b"] [ext_resource type="Script" uid="uid://vfc8utojwc0b" path="res://addons/rokojori_action_library/Runtime/Interactions/SetPointableEnabled.cs" id="235_yu3s7"] [ext_resource type="Script" uid="uid://0wcfunmv4j6d" path="res://addons/rokojori_action_library/Runtime/Actions/Visual/TweenMaterial.cs" id="236_mvel0"] [ext_resource type="Script" uid="uid://n4etptbiekhq" path="res://addons/rokojori_action_library/Runtime/Actions/Visual/TweenPosition.cs" id="237_mvel0"] [ext_resource type="Script" uid="uid://cnn4iyfevlyk5" path="res://Character/Variables/CollectableCounter.cs" id="238_84557"] [ext_resource type="Script" uid="uid://7wfp46dloykf" path="res://addons/rokojori_action_library/Runtime/Cameras/CameraTypes/LookAtCamera/LookAtCamera.cs" id="239_84557"] +[ext_resource type="PackedScene" uid="uid://d3kf8vdvy8ihe" path="res://GameObjects/Round-Cobe/round-cube.gltf" id="302_4545n"] +[ext_resource type="PackedScene" uid="uid://cv5j1yrrlt7le" path="res://GameObjects/Round-Cobe/Baked/Rounded-Cube-Baked.gltf" id="302_wpvj8"] +[ext_resource type="Shader" uid="uid://dc3uyxyngaw1c" path="res://VFX/Highlights-Shader.gdshader" id="303_d1ujc"] +[ext_resource type="Texture2D" uid="uid://cahr6efa5lasl" path="res://GameObjects/Round-Cobe/Baked/Cube LP_Bake1_PBR StoA_Normal.png" id="304_ysmsc"] [sub_resource type="Resource" id="Resource_i8mni"] script = ExtResource("18_dk6jw") @@ -489,7 +503,7 @@ script = ExtResource("63_u533a") layer = SubResource("Resource_762km") metadata/_custom_type_script = "uid://chqp2otobal7a" -[sub_resource type="CompositorEffect" id="CompositorEffect_u533a"] +[sub_resource type="CompositorEffect" id="CompositorEffect_ixqtu"] resource_local_to_scene = false resource_name = "" enabled = false @@ -524,10 +538,10 @@ script = ExtResource("63_u533a") layer = SubResource("Resource_i46l2") metadata/_custom_type_script = "uid://chqp2otobal7a" -[sub_resource type="CompositorEffect" id="CompositorEffect_i46l2"] +[sub_resource type="CompositorEffect" id="CompositorEffect_sw5v3"] resource_local_to_scene = false resource_name = "" -enabled = true +enabled = false effect_callback_type = 4 needs_motion_vectors = false needs_normal_roughness = false @@ -535,7 +549,7 @@ script = ExtResource("70_wi6eu") amount = 0.6935 metadata/_custom_type_script = "uid://bgw3wuqxbwrb0" -[sub_resource type="CompositorEffect" id="CompositorEffect_d1ujc"] +[sub_resource type="CompositorEffect" id="CompositorEffect_wi6eu"] resource_local_to_scene = false resource_name = "" enabled = true @@ -548,7 +562,7 @@ lightnessOffset = 2.0 lightnessGamma = 5.0 metadata/_custom_type_script = "uid://pevgspwywsxi" -[sub_resource type="CompositorEffect" id="CompositorEffect_mdsx3"] +[sub_resource type="CompositorEffect" id="CompositorEffect_7720d"] resource_local_to_scene = false resource_name = "" enabled = true @@ -589,10 +603,10 @@ script = ExtResource("63_u533a") layer = SubResource("Resource_mdsx3") metadata/_custom_type_script = "uid://chqp2otobal7a" -[sub_resource type="CompositorEffect" id="CompositorEffect_wpvj8"] +[sub_resource type="CompositorEffect" id="CompositorEffect_m7r8b"] resource_local_to_scene = false resource_name = "" -enabled = true +enabled = false effect_callback_type = 4 needs_motion_vectors = false needs_normal_roughness = false @@ -606,11 +620,110 @@ colorTop = Color(0.087186046, 0.33509386, 0.6018299, 1) colorBottom = Color(0.17348541, 0.18686064, 0.41853607, 1) replace = 0.415 multiply = 1.0 -info = "constants: size:19 internalSize:19 bytes:80 floats:19 ints:0" metadata/_custom_type_script = "uid://bgiluy6xgcvb0" +[sub_resource type="Resource" id="Resource_fy8er"] +script = ExtResource("87_m7r8b") + +[sub_resource type="Resource" id="Resource_p64cs"] +script = ExtResource("68_fqrsx") +owner = SubResource("Resource_fy8er") + +[sub_resource type="CompositorEffect" id="CompositorEffect_i5utj"] +resource_local_to_scene = false +resource_name = "" +enabled = true +effect_callback_type = 4 +needs_motion_vectors = false +needs_normal_roughness = false +script = ExtResource("20_jkd0a") +fadePosition = 0.6416 +fadeInOffset = -0.232 +fadeOutOffset = 0.251 +fadePower = -2.0189 +ellipseToCircle = 1.0 +compositorEffectID = SubResource("Resource_p64cs") +metadata/_custom_type_script = "uid://bgiluy6xgcvb0" + +[sub_resource type="Curve" id="Curve_22k1k"] +_data = [Vector2(0, 0), 0.0, 1.0, 0, 1, Vector2(1, 1), 1.0, 0.0, 1, 0] +point_count = 2 + +[sub_resource type="Resource" id="Resource_hpfyh"] +script = ExtResource("67_1er25") +member = "amount" +curve = SubResource("Curve_22k1k") +curveScale = 0.05 +metadata/_custom_type_script = "uid://dvvfvlutisecy" + +[sub_resource type="Resource" id="Resource_63qv8"] +script = ExtResource("68_fqrsx") +owner = SubResource("Resource_fy8er") + +[sub_resource type="CompositorEffect" id="CompositorEffect_gxlxg"] +resource_local_to_scene = false +resource_name = "" +enabled = true +effect_callback_type = 4 +needs_motion_vectors = false +needs_normal_roughness = false +script = ExtResource("73_7720d") +amount = 0.05 +scale = 5.0619 +smearingSteps = 5 +smearing = 1.2095 +xU = Vector3(0.4965, 1, 1) +xV = Vector3(0.418, 0.22, 0.2) +yU = Vector3(-0.183, 2.4, 0.23) +yV = Vector3(-0.1135, 0.305, 0.2) +redShift = 0.0 +animationTargets = [SubResource("Resource_hpfyh")] +compositorEffectID = SubResource("Resource_63qv8") +metadata/_custom_type_script = "uid://cidk0x7sb1pxl" + +[sub_resource type="Resource" id="Resource_72jau"] +script = ExtResource("68_fqrsx") +owner = SubResource("Resource_fy8er") + +[sub_resource type="CompositorEffect" id="CompositorEffect_ixn1d"] +resource_local_to_scene = false +resource_name = "" +enabled = true +effect_callback_type = 4 +needs_motion_vectors = false +needs_normal_roughness = false +script = ExtResource("74_a3id7") +amount = 1.0 +redAmount = 0.0 +greenAmount = 0.0 +blueAmount = 0.0 +rgbAmount = 0.0 +hueAmount = 0.0 +saturationAmount = 0.0 +luminanceAmount = 0.0 +luminanceSteps = 9.516 +luminanceGamma = -0.066 +luminanceOffset = 0.0094 +compositorEffectID = SubResource("Resource_72jau") +metadata/_custom_type_script = "uid://b2oxy6ln560ys" + +[sub_resource type="Resource" id="Resource_3tnad"] +script = ExtResource("68_fqrsx") +owner = SubResource("Resource_fy8er") + +[sub_resource type="CompositorEffect" id="CompositorEffect_y3g14"] +resource_local_to_scene = false +resource_name = "" +enabled = true +effect_callback_type = 4 +needs_motion_vectors = false +needs_normal_roughness = false +script = ExtResource("75_ie6m2") +compositorEffectID = SubResource("Resource_3tnad") +metadata/_custom_type_script = "uid://cowk70ifagygb" + [sub_resource type="Compositor" id="Compositor_6esk7"] -compositor_effects = Array[CompositorEffect]([SubResource("CompositorEffect_c05wc"), SubResource("CompositorEffect_u533a"), SubResource("CompositorEffect_4545n"), SubResource("CompositorEffect_i46l2"), SubResource("CompositorEffect_d1ujc"), SubResource("CompositorEffect_mdsx3"), SubResource("CompositorEffect_p64cs"), SubResource("CompositorEffect_7axlu"), SubResource("CompositorEffect_wpvj8")]) +compositor_effects = Array[CompositorEffect]([SubResource("CompositorEffect_c05wc"), SubResource("CompositorEffect_ixqtu"), SubResource("CompositorEffect_4545n"), SubResource("CompositorEffect_sw5v3"), SubResource("CompositorEffect_wi6eu"), SubResource("CompositorEffect_7720d"), SubResource("CompositorEffect_p64cs"), SubResource("CompositorEffect_7axlu"), SubResource("CompositorEffect_m7r8b"), SubResource("CompositorEffect_i5utj"), SubResource("CompositorEffect_gxlxg"), SubResource("CompositorEffect_ixn1d"), SubResource("CompositorEffect_y3g14")]) [sub_resource type="Resource" id="Resource_4k7mp"] script = ExtResource("88_ixqtu") @@ -730,7 +843,77 @@ script = ExtResource("87_m7r8b") [sub_resource type="Resource" id="Resource_gyycf"] script = ExtResource("87_m7r8b") -[sub_resource type="Resource" id="Resource_fy8er"] +[sub_resource type="Curve" id="Curve_hpfyh"] +_data = [Vector2(0, 0), 0.0, 1.0, 0, 1, Vector2(1, 1), 1.0, 0.0, 1, 0] +point_count = 2 + +[sub_resource type="Resource" id="Resource_frwbc"] +script = ExtResource("67_1er25") +member = "amount" +curve = SubResource("Curve_hpfyh") +metadata/_custom_type_script = "uid://dvvfvlutisecy" + +[sub_resource type="Resource" id="Resource_a3id7"] +script = ExtResource("87_m7r8b") + +[sub_resource type="Resource" id="Resource_w6tyf"] +script = ExtResource("68_fqrsx") +owner = SubResource("Resource_a3id7") + +[sub_resource type="Curve" id="Curve_63qv8"] +_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.03658537, 0.23157895), -1.0903045, -1.0903045, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] +point_count = 3 + +[sub_resource type="CurveTexture" id="CurveTexture_gxlxg"] +curve = SubResource("Curve_63qv8") + +[sub_resource type="Curve" id="Curve_72jau"] +_data = [Vector2(0, 0.5), 0.0, 0.0, 0, 0, Vector2(1, 0.5), 0.0, 0.0, 1, 0] +point_count = 2 + +[sub_resource type="CurveTexture" id="CurveTexture_ixn1d"] +curve = SubResource("Curve_72jau") + +[sub_resource type="Curve" id="Curve_frwbc"] +_data = [Vector2(0, 1), 0.0, -3.2060144, 0, 1, Vector2(0.08536587, 0.7263158), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] +point_count = 3 + +[sub_resource type="CurveTexture" id="CurveTexture_w6tyf"] +texture_mode = 1 +curve = SubResource("Curve_frwbc") + +[sub_resource type="CompositorEffect" id="CompositorEffect_a3id7"] +resource_local_to_scene = false +resource_name = "" +enabled = true +effect_callback_type = 4 +needs_motion_vectors = false +needs_normal_roughness = false +script = ExtResource("94_4545n") +amount = 0.0 +outlineWidth = 0.0 +outlineWidthCurve = SubResource("CurveTexture_ixn1d") +edgeDistanceFade = 0.0 +rimOffset = Vector2(0, -0.006) +rimContrast = 0.01 +rimStrength = 0.0 +normalEdgeAmountMin = 0.0 +normalEdgeAmountMax = 0.008 +zTreshold = 2.0 +zTresholdCurve = SubResource("CurveTexture_w6tyf") +edgeIntensityCurve = SubResource("CurveTexture_gxlxg") +adaptiveScaleAmount = 1.0 +zInput = Vector2(0.1, 500) +animationTargets = [SubResource("Resource_frwbc")] +compositorEffectID = SubResource("Resource_w6tyf") +metadata/_custom_type_script = "uid://bx4j8ic80vl7f" + +[sub_resource type="Resource" id="Resource_y3g14"] +script = ExtResource("85_btbfg") +effects = [SubResource("CompositorEffect_a3id7")] +metadata/_custom_type_script = "uid://ckixweetchlo0" + +[sub_resource type="Resource" id="Resource_ie6m2"] script = ExtResource("87_m7r8b") [sub_resource type="Resource" id="Resource_0c48d"] @@ -757,6 +940,11 @@ script = ExtResource("87_m7r8b") [sub_resource type="Resource" id="Resource_diigt"] script = ExtResource("87_m7r8b") +[sub_resource type="Resource" id="Resource_qrakr"] +script = ExtResource("40_uqrk0") +seconds = 20.0 +metadata/_custom_type_script = "uid://ddhwhwos5kkrm" + [sub_resource type="Resource" id="Resource_dq7d0"] script = ExtResource("40_uqrk0") seconds = 0.5 @@ -912,7 +1100,7 @@ value = 2.0 unit = "em" metadata/_custom_type_script = "uid://cnkyynboxg1qg" -[sub_resource type="ShaderMaterial" id="ShaderMaterial_ysmsc"] +[sub_resource type="ShaderMaterial" id="ShaderMaterial_qrakr"] shader = ExtResource("42_npu10") shader_parameter/size = Vector2(38.4, 38.4) shader_parameter/sharpness = 5.0 @@ -964,7 +1152,7 @@ script = ExtResource("40_ytrvj") unit = "em" metadata/_custom_type_script = "uid://cnkyynboxg1qg" -[sub_resource type="ShaderMaterial" id="ShaderMaterial_t5au6"] +[sub_resource type="ShaderMaterial" id="ShaderMaterial_oqkh4"] shader = ExtResource("42_npu10") shader_parameter/size = Vector2(38.4, 38.4) shader_parameter/sharpness = 5.0 @@ -993,7 +1181,7 @@ script = ExtResource("46_er746") fillColor = SubResource("Resource_bsxpb") metadata/_custom_type_script = "uid://dwuimn03cvh3" -[sub_resource type="ShaderMaterial" id="ShaderMaterial_btbfg"] +[sub_resource type="ShaderMaterial" id="ShaderMaterial_seli3"] shader = ExtResource("42_npu10") shader_parameter/size = Vector2(38.399998, 38.4) shader_parameter/sharpness = 5.0 @@ -1013,7 +1201,7 @@ shader_parameter/fillStateAngle = 0.0 shader_parameter/fillStateOffset = 0.0 script = ExtResource("41_4el3b") -[sub_resource type="ShaderMaterial" id="ShaderMaterial_ixqtu"] +[sub_resource type="ShaderMaterial" id="ShaderMaterial_008mr"] shader = ExtResource("42_npu10") shader_parameter/size = Vector2(38.399998, 38.4) shader_parameter/sharpness = 5.0 @@ -1033,7 +1221,7 @@ shader_parameter/fillStateAngle = 0.0 shader_parameter/fillStateOffset = 0.0 script = ExtResource("41_4el3b") -[sub_resource type="ShaderMaterial" id="ShaderMaterial_m7r8b"] +[sub_resource type="ShaderMaterial" id="ShaderMaterial_jxdri"] shader = ExtResource("42_npu10") shader_parameter/size = Vector2(38.399994, 38.4) shader_parameter/sharpness = 5.0 @@ -1053,7 +1241,7 @@ shader_parameter/fillStateAngle = 0.0 shader_parameter/fillStateOffset = 0.0 script = ExtResource("41_4el3b") -[sub_resource type="ShaderMaterial" id="ShaderMaterial_sw5v3"] +[sub_resource type="ShaderMaterial" id="ShaderMaterial_5rqpk"] shader = ExtResource("42_npu10") shader_parameter/size = Vector2(38.399994, 38.4) shader_parameter/sharpness = 5.0 @@ -1083,9 +1271,9 @@ metadata/_custom_type_script = "uid://cnkyynboxg1qg" script = ExtResource("40_ytrvj") metadata/_custom_type_script = "uid://cnkyynboxg1qg" -[sub_resource type="ShaderMaterial" id="ShaderMaterial_wi6eu"] +[sub_resource type="ShaderMaterial" id="ShaderMaterial_6a7ab"] shader = ExtResource("42_npu10") -shader_parameter/size = Vector2(116.40002, 76.79997) +shader_parameter/size = Vector2(126.40002, 76.79997) shader_parameter/sharpness = 5.0 shader_parameter/borderRadius = 19.5936 shader_parameter/strokeSize = 0.0 @@ -1151,7 +1339,7 @@ value = 0.5 unit = "em" metadata/_custom_type_script = "uid://cnkyynboxg1qg" -[sub_resource type="ShaderMaterial" id="ShaderMaterial_7720d"] +[sub_resource type="ShaderMaterial" id="ShaderMaterial_jpti0"] shader = ExtResource("42_npu10") shader_parameter/size = Vector2(38.4, 38.399998) shader_parameter/sharpness = 5.0 @@ -1180,13 +1368,13 @@ script = ExtResource("46_er746") fillColor = SubResource("Resource_73e3n") metadata/_custom_type_script = "uid://dwuimn03cvh3" -[sub_resource type="LabelSettings" id="LabelSettings_a3id7"] +[sub_resource type="LabelSettings" id="LabelSettings_nt8a7"] font_size = 19 shadow_size = 0 -[sub_resource type="Resource" id="Resource_a3id7"] +[sub_resource type="Resource" id="Resource_0y4dn"] script = ExtResource("78_dq7d0") -en = "0/0" +en = "0/37" [sub_resource type="Resource" id="Resource_nfrna"] script = ExtResource("40_ytrvj") @@ -1210,7 +1398,7 @@ script = ExtResource("40_ytrvj") unit = "em" metadata/_custom_type_script = "uid://cnkyynboxg1qg" -[sub_resource type="ShaderMaterial" id="ShaderMaterial_ie6m2"] +[sub_resource type="ShaderMaterial" id="ShaderMaterial_ymqbv"] shader = ExtResource("42_npu10") shader_parameter/size = Vector2(230.40005, 230.40005) shader_parameter/sharpness = 5.0 @@ -1313,7 +1501,7 @@ value = 5.0 unit = "em" metadata/_custom_type_script = "uid://cnkyynboxg1qg" -[sub_resource type="ShaderMaterial" id="ShaderMaterial_p64cs"] +[sub_resource type="ShaderMaterial" id="ShaderMaterial_7owh2"] shader = ExtResource("42_npu10") shader_parameter/size = Vector2(426, 232.00002) shader_parameter/sharpness = 5.0 @@ -1387,7 +1575,7 @@ script = ExtResource("40_ytrvj") unit = "em" metadata/_custom_type_script = "uid://cnkyynboxg1qg" -[sub_resource type="LabelSettings" id="LabelSettings_7axlu"] +[sub_resource type="LabelSettings" id="LabelSettings_adfmi"] font_size = 29 shadow_size = 0 @@ -1463,7 +1651,7 @@ metadata/_custom_type_script = "uid://36a2avbsduro" script = ExtResource("116_uslls") metadata/_custom_type_script = "uid://vc5quho4a6ib" -[sub_resource type="LabelSettings" id="LabelSettings_i5utj"] +[sub_resource type="LabelSettings" id="LabelSettings_jvxnt"] font_size = 19 shadow_size = 0 @@ -1503,7 +1691,7 @@ metadata/_custom_type_script = "uid://36a2avbsduro" script = ExtResource("116_uslls") metadata/_custom_type_script = "uid://vc5quho4a6ib" -[sub_resource type="LabelSettings" id="LabelSettings_22k1k"] +[sub_resource type="LabelSettings" id="LabelSettings_ade2u"] font_size = 19 shadow_size = 0 @@ -1517,7 +1705,7 @@ script = ExtResource("113_4l6me") sensor = SubResource("Resource_rn0rj") metadata/_custom_type_script = "uid://36a2avbsduro" -[sub_resource type="LabelSettings" id="LabelSettings_hpfyh"] +[sub_resource type="LabelSettings" id="LabelSettings_x0p8u"] font_size = 19 shadow_size = 0 @@ -1546,7 +1734,7 @@ script = ExtResource("113_4l6me") sensor = SubResource("Resource_58uie") metadata/_custom_type_script = "uid://36a2avbsduro" -[sub_resource type="LabelSettings" id="LabelSettings_frwbc"] +[sub_resource type="LabelSettings" id="LabelSettings_5q01g"] font_size = 19 shadow_size = 0 @@ -2824,6 +3012,71 @@ roughness_texture = SubResource("NoiseTexture2D_p54pa") normal_enabled = true normal_texture = SubResource("NoiseTexture2D_swro7") +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_wpvj8"] +transparency = 1 +shading_mode = 0 +grow = true +grow_amount = 0.105 +stencil_mode = 3 +stencil_flags = 1 +stencil_compare = 5 + +[sub_resource type="Gradient" id="Gradient_wpvj8"] +offsets = PackedFloat32Array(0, 0.16589862, 0.34101382, 0.50691247, 0.6958525, 0.84792626, 1) +colors = PackedColorArray(1, 0, 0, 1, 1, 0.8451766, 0, 1, 0, 1, 0.0023565292, 1, 0, 1, 0.96650267, 1, 0, 0.0108447075, 1, 1, 1, 0, 0.973403, 1, 1, 0, 0, 1) + +[sub_resource type="GradientTexture1D" id="GradientTexture1D_ysmsc"] +gradient = SubResource("Gradient_wpvj8") + +[sub_resource type="ShaderMaterial" id="ShaderMaterial_sw5v3"] +render_priority = 0 +next_pass = SubResource("StandardMaterial3D_wpvj8") +shader = ExtResource("303_d1ujc") +shader_parameter/albedo = Color(0.5339433, 0.5339433, 0.5339433, 1) +shader_parameter/texture_albedo = SubResource("GradientTexture1D_ysmsc") +shader_parameter/useNormalMap = true +shader_parameter/flipNormalMapZ = true +shader_parameter/texture_normal = ExtResource("304_ysmsc") +shader_parameter/uvScale = 0.492 +shader_parameter/uvOffset = 0.4815 +shader_parameter/uvSpeed = 1.0 +shader_parameter/highlightDirection1 = Vector2(-0.5115, -0.4235) +shader_parameter/highlightSharpness1 = 0.870000041325 +shader_parameter/highlightSize1 = 0.290000013775 +shader_parameter/highlightDirection2 = Vector2(0.554, 0.6455) +shader_parameter/highlightSharpness2 = 0.950000045125 +shader_parameter/highlightSize2 = 0.270000012825 + +[sub_resource type="FastNoiseLite" id="FastNoiseLite_ysmsc"] +noise_type = 2 +frequency = 0.0175 +fractal_octaves = 3 +fractal_lacunarity = 2.1405 + +[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_t5au6"] +noise = SubResource("FastNoiseLite_ysmsc") +seamless = true +as_normal_map = true + +[sub_resource type="ShaderMaterial" id="ShaderMaterial_t5au6"] +render_priority = 0 +next_pass = SubResource("StandardMaterial3D_wpvj8") +shader = ExtResource("303_d1ujc") +shader_parameter/albedo = Color(0.54073197, 0.54073197, 0.54073197, 1) +shader_parameter/texture_albedo = SubResource("GradientTexture1D_ysmsc") +shader_parameter/useNormalMap = false +shader_parameter/flipNormalMapZ = true +shader_parameter/texture_normal = SubResource("NoiseTexture2D_t5au6") +shader_parameter/uvScale = 0.492 +shader_parameter/uvOffset = 0.4815 +shader_parameter/uvSpeed = 1.0 +shader_parameter/highlightDirection1 = Vector2(-0.5115, -0.4235) +shader_parameter/highlightSharpness1 = 0.870000041325 +shader_parameter/highlightSize1 = 0.290000013775 +shader_parameter/highlightDirection2 = Vector2(0.554, 0.6455) +shader_parameter/highlightSharpness2 = 0.950000045125 +shader_parameter/highlightSize2 = 0.270000012825 + [node name="Main" type="Node"] script = ExtResource("1_rii6w") metadata/_custom_type_script = "uid://dedtmhyfax8p0" @@ -2884,8 +3137,10 @@ activateOnReady = true metadata/_custom_type_script = "uid://dqgh1ba6suibb" [node name="PostProcessingHack" type="Node" parent="App/Rendering Manager/Post Processing Hack OnTick" node_paths=PackedStringArray("environment")] +process_mode = 4 script = ExtResource("17_vo330") environment = NodePath("../../../Camera Setup/WorldEnvironment") +triggerMode = 1 metadata/_custom_type_script = "uid://cln7p47awviht" [node name="OnProcess" type="Node" parent="App/Rendering Manager"] @@ -2922,6 +3177,7 @@ render_priority = 100 outline_render_priority = 99 modulate = Color(0.53504485, 0.90053093, 0.35550776, 1) outline_modulate = Color(0.13993634, 0.42532474, 0.23995323, 1) +text = "P" font_size = 100 outline_size = 50 script = ExtResource("35_5kble") @@ -2965,6 +3221,7 @@ render_priority = 100 outline_render_priority = 99 modulate = Color(0.9141083, 0.34904757, 0.30075133, 1) outline_modulate = Color(0.38459277, 0.088595904, 0.14523984, 1) +text = "S" font_size = 100 outline_size = 50 script = ExtResource("35_5kble") @@ -2991,6 +3248,7 @@ render_priority = 100 outline_render_priority = 99 modulate = Color(0.30196086, 0.65454865, 0.9137255, 1) outline_modulate = Color(0.117091015, 0.10999007, 0.64256185, 1) +text = "L" font_size = 100 outline_size = 50 script = ExtResource("35_5kble") @@ -3100,6 +3358,18 @@ preset = ExtResource("86_t5au6") ownerReference = SubResource("Resource_gyycf") metadata/_custom_type_script = "uid://cebnf3dtch0oh" +[node name="CompositorVFX" type="Node" parent="App/Camera Setup/VFX"] +script = ExtResource("96_m7r8b") +preset = SubResource("Resource_y3g14") +ownerReference = SubResource("Resource_a3id7") +metadata/_custom_type_script = "uid://cebnf3dtch0oh" + +[node name="Sketch" type="Node" parent="App/Camera Setup/VFX"] +script = ExtResource("96_m7r8b") +preset = ExtResource("86_d1ujc") +ownerReference = SubResource("Resource_ie6m2") +metadata/_custom_type_script = "uid://cebnf3dtch0oh" + [node name="Impact Wave" type="Node" parent="App/Camera Setup/VFX"] script = ExtResource("96_m7r8b") preset = ExtResource("81_1er25") @@ -3139,6 +3409,7 @@ metadata/_custom_type_script = "uid://cebnf3dtch0oh" [node name="Drunken" type="Node" parent="App/Camera Setup/VFX"] script = ExtResource("96_m7r8b") preset = ExtResource("85_i46l2") +driverValue = 1.0 ownerReference = SubResource("Resource_fy8er") metadata/_custom_type_script = "uid://cebnf3dtch0oh" @@ -3160,6 +3431,20 @@ preset = ExtResource("96_btbfg") ownerReference = SubResource("Resource_diigt") metadata/_custom_type_script = "uid://cebnf3dtch0oh" +[node name="CompositorVFXFader" type="Node" parent="App/Camera Setup/VFX" node_paths=PackedStringArray("effects")] +script = ExtResource("94_i46l2") +effects = [NodePath("../Digital Compression VFX"), NodePath("../Tube TV"), NodePath("../Old Film"), NodePath("../Sketch")] +metadata/_custom_type_script = "uid://drcp6asmxo5j4" + +[node name="TweenFloat" type="Node" parent="App/Camera Setup/VFX" node_paths=PackedStringArray("targetNode")] +script = ExtResource("48_pp0bs") +targetNode = NodePath("../CompositorVFXFader") +targetMemberPath = "value" +endValue = 1.0 +duration = SubResource("Resource_qrakr") +forceStartValue = true +metadata/_custom_type_script = "uid://dm4i0s67kio5v" + [node name="Wipes" type="Node" parent="App/Camera Setup/VFX"] script = ExtResource("91_vgxo8") metadata/_custom_type_script = "uid://ceaglilesxsi4" @@ -3275,7 +3560,7 @@ height = SubResource("Resource_y6wps") metadata/_custom_type_script = "uid://c2hicupu28nbi" [node name="Fill" type="TextureRect" parent="App/UI/Hearts/Heart"] -material = SubResource("ShaderMaterial_ysmsc") +material = SubResource("ShaderMaterial_qrakr") layout_mode = 0 offset_right = 38.4 offset_bottom = 38.4 @@ -3292,7 +3577,7 @@ top = SubResource("Resource_2750v") metadata/_custom_type_script = "uid://bx0bk663u3hj5" [node name="Outline" type="TextureRect" parent="App/UI/Hearts/Heart"] -material = SubResource("ShaderMaterial_t5au6") +material = SubResource("ShaderMaterial_oqkh4") layout_mode = 0 offset_right = 38.4 offset_bottom = 38.4 @@ -3321,7 +3606,7 @@ height = SubResource("Resource_y6wps") metadata/_custom_type_script = "uid://c2hicupu28nbi" [node name="Fill" type="TextureRect" parent="App/UI/Hearts/Heart2"] -material = SubResource("ShaderMaterial_btbfg") +material = SubResource("ShaderMaterial_seli3") layout_mode = 0 offset_right = 38.399998 offset_bottom = 38.4 @@ -3338,7 +3623,7 @@ top = SubResource("Resource_2750v") metadata/_custom_type_script = "uid://bx0bk663u3hj5" [node name="Outline" type="TextureRect" parent="App/UI/Hearts/Heart2"] -material = SubResource("ShaderMaterial_ixqtu") +material = SubResource("ShaderMaterial_008mr") layout_mode = 0 offset_right = 38.399998 offset_bottom = 38.4 @@ -3367,7 +3652,7 @@ height = SubResource("Resource_y6wps") metadata/_custom_type_script = "uid://c2hicupu28nbi" [node name="Fill" type="TextureRect" parent="App/UI/Hearts/Heart3"] -material = SubResource("ShaderMaterial_m7r8b") +material = SubResource("ShaderMaterial_jxdri") layout_mode = 0 offset_right = 38.399994 offset_bottom = 38.4 @@ -3384,7 +3669,7 @@ top = SubResource("Resource_2750v") metadata/_custom_type_script = "uid://bx0bk663u3hj5" [node name="Outline" type="TextureRect" parent="App/UI/Hearts/Heart3"] -material = SubResource("ShaderMaterial_sw5v3") +material = SubResource("ShaderMaterial_5rqpk") layout_mode = 0 offset_right = 38.399994 offset_bottom = 38.4 @@ -3403,7 +3688,7 @@ metadata/_custom_type_script = "uid://bx0bk663u3hj5" [node name="Collected Presents" type="Control" parent="App/UI"] anchors_preset = 0 offset_top = 926.4 -offset_right = 193.20001 +offset_right = 203.20001 offset_bottom = 1080.0 script = ExtResource("39_ji1pb") margin = SubResource("Resource_5kble") @@ -3414,13 +3699,13 @@ metadata/_custom_type_script = "uid://c2hicupu28nbi" metadata/_edit_use_anchors_ = true [node name="UIImage" type="TextureRect" parent="App/UI/Collected Presents"] -material = SubResource("ShaderMaterial_wi6eu") +material = SubResource("ShaderMaterial_6a7ab") layout_mode = 0 offset_left = 38.4 offset_top = 38.4 -offset_right = 154.80002 +offset_right = 164.80002 offset_bottom = 115.199974 -pivot_offset = Vector2(58.20001, 38.399986) +pivot_offset = Vector2(63.20001, 38.399986) texture = SubResource("GradientTexture2D_awoan") expand_mode = 1 script = ExtResource("44_kqgb3") @@ -3446,7 +3731,7 @@ marginRight = SubResource("Resource_b5y7t") metadata/_custom_type_script = "uid://c2hicupu28nbi" [node name="Fill" type="TextureRect" parent="App/UI/Collected Presents/Present"] -material = SubResource("ShaderMaterial_7720d") +material = SubResource("ShaderMaterial_jpti0") layout_mode = 0 offset_right = 38.4 offset_bottom = 38.399998 @@ -3466,13 +3751,13 @@ metadata/_custom_type_script = "uid://bx0bk663u3hj5" layout_mode = 0 offset_left = 105.600006 offset_top = 63.300003 -offset_right = 135.6 +offset_right = 145.6 offset_bottom = 90.3 -pivot_offset = Vector2(15, 13.5) -text = "0/0" -label_settings = SubResource("LabelSettings_a3id7") +pivot_offset = Vector2(20, 13.5) +text = "0/37" +label_settings = SubResource("LabelSettings_nt8a7") script = ExtResource("77_ubijs") -locale = SubResource("Resource_a3id7") +locale = SubResource("Resource_0y4dn") metadata/_custom_type_script = "uid://rqs2m0u6yvvf" [node name="Map" type="Control" parent="App/UI"] @@ -3492,7 +3777,7 @@ metadata/_custom_type_script = "uid://c2hicupu28nbi" metadata/_edit_use_anchors_ = true [node name="UIImage" type="TextureRect" parent="App/UI/Map"] -material = SubResource("ShaderMaterial_ie6m2") +material = SubResource("ShaderMaterial_ymqbv") layout_mode = 0 offset_right = 230.40005 offset_bottom = 230.40005 @@ -3551,7 +3836,7 @@ metadata/_custom_type_script = "uid://c2hicupu28nbi" metadata/_edit_use_anchors_ = true [node name="UIImage" type="TextureRect" parent="App/UI/Dialogs/Text Block"] -material = SubResource("ShaderMaterial_p64cs") +material = SubResource("ShaderMaterial_7owh2") layout_mode = 0 offset_right = 426.0 offset_bottom = 232.00002 @@ -3576,7 +3861,7 @@ offset_right = 330.0 offset_bottom = 136.0 pivot_offset = Vector2(117, 20) text = "Winter's coming!" -label_settings = SubResource("LabelSettings_7axlu") +label_settings = SubResource("LabelSettings_adfmi") script = ExtResource("77_ubijs") locale = SubResource("Resource_8imgn") fontSize = SubResource("Resource_p54pa") @@ -3616,7 +3901,7 @@ offset_right = 40.0 offset_bottom = 27.0 pivot_offset = Vector2(20, 13.5) text = "Quit" -label_settings = SubResource("LabelSettings_i5utj") +label_settings = SubResource("LabelSettings_jvxnt") script = ExtResource("77_ubijs") locale = SubResource("Resource_btbfg") metadata/_custom_type_script = "uid://rqs2m0u6yvvf" @@ -3657,7 +3942,7 @@ offset_right = 159.0 offset_bottom = 27.0 pivot_offset = Vector2(79.5, 13.5) text = "Sword Animation" -label_settings = SubResource("LabelSettings_22k1k") +label_settings = SubResource("LabelSettings_ade2u") script = ExtResource("77_ubijs") locale = SubResource("Resource_qiqbh") metadata/_custom_type_script = "uid://rqs2m0u6yvvf" @@ -3698,7 +3983,7 @@ offset_right = 48.0 offset_bottom = 27.0 pivot_offset = Vector2(24, 13.5) text = "Jump" -label_settings = SubResource("LabelSettings_hpfyh") +label_settings = SubResource("LabelSettings_x0p8u") script = ExtResource("77_ubijs") locale = SubResource("Resource_y44jo") metadata/_custom_type_script = "uid://rqs2m0u6yvvf" @@ -3739,7 +4024,7 @@ offset_right = 73.0 offset_bottom = 27.0 pivot_offset = Vector2(36.5, 13.5) text = "Interact" -label_settings = SubResource("LabelSettings_frwbc") +label_settings = SubResource("LabelSettings_5q01g") script = ExtResource("77_ubijs") locale = SubResource("Resource_t5au6") metadata/_custom_type_script = "uid://rqs2m0u6yvvf" @@ -4013,56 +4298,56 @@ stepMaxHeight = 0.15 metadata/_custom_type_script = "uid://bw5ivesxk1mgg" [node name="Graphics" type="Node3D" parent="CharacterController"] -transform = Transform3D(-0.9986062, 0, -0.0527471, 0, 1, 0, 0.0527471, 0, -0.9986062, 8.606868, -0.14941423, 15.799299) +transform = Transform3D(-0.3204387, 0, 0.9472675, 0, 1, 0, -0.9472675, 0, -0.3204387, 12.585598, -0.14941423, 18.621296) [node name="Hoody Hood" parent="CharacterController/Graphics" instance=ExtResource("54_p2tm2")] transform = Transform3D(-0.7727, 0, -1.1667446e-07, 0, 0.7727, 0, 1.1667446e-07, 0, -0.7727, 0, 0.1585, 0) [node name="GeneralSkeleton" parent="CharacterController/Graphics/Hoody Hood/Rig_Medium" index="0"] -bones/1/position = Vector3(0, 0.3901653, 0) -bones/1/rotation = Quaternion(0.0011011867, 0.043157846, 4.757177e-05, 0.99906766) +bones/1/position = Vector3(0, 0.38416967, 0) +bones/1/rotation = Quaternion(0.004533603, 0.04315742, 0.00019584569, 0.99905807) bones/1/scale = Vector3(0.99999994, 1, 0.99999994) -bones/2/rotation = Quaternion(-0.069685765, 0.07367776, 0.9930822, -0.05918906) +bones/2/rotation = Quaternion(-0.07039795, 0.09607925, 0.9911357, -0.05884691) bones/2/scale = Vector3(0.9999999, 0.9999998, 0.9999996) -bones/3/rotation = Quaternion(-1.2760377e-07, 0.9841306, -0.17744571, -1.5287588e-08) +bones/3/rotation = Quaternion(-1.6068158e-07, 0.9732783, -0.22962892, -2.5775217e-08) bones/3/scale = Vector3(1.0000004, 0.9999996, 0.9999999) -bones/4/rotation = Quaternion(0.015312845, 0.6261743, -0.7700994, 0.12090643) +bones/4/rotation = Quaternion(0.010196373, 0.59957296, -0.79093635, 0.121770844) bones/4/scale = Vector3(1.0000004, 0.9999994, 1.000001) -bones/5/rotation = Quaternion(-4.729886e-06, 1, 0.0002805024, -3.4116802e-06) +bones/5/rotation = Quaternion(8.7168985e-07, 1, 0.00030764937, 6.0891136e-07) bones/5/scale = Vector3(1.0000001, 1.0000013, 0.9999986) -bones/6/rotation = Quaternion(-0.031900227, 0.049408603, 0.99783844, 0.029322442) +bones/6/rotation = Quaternion(-0.031523895, 0.071273364, 0.9964896, 0.030575566) bones/6/scale = Vector3(0.9999999, 0.9999999, 0.9999996) -bones/7/rotation = Quaternion(1.544996e-07, 0.98205423, -0.18859926, 2.0415198e-08) +bones/7/rotation = Quaternion(2.0001e-07, 0.97065675, -0.2404697, 2.843835e-08) bones/7/scale = Vector3(0.99999994, 0.9999994, 0.9999997) -bones/8/rotation = Quaternion(-0.04497423, 0.59989446, -0.79179466, -0.10566644) +bones/8/rotation = Quaternion(-0.040845092, 0.5722495, -0.811998, -0.10733803) bones/8/scale = Vector3(0.99999976, 0.9999993, 1.000001) bones/9/rotation = Quaternion(7.434201e-05, 1, 0.00034067035, 5.3566793e-05) bones/9/scale = Vector3(1.0000002, 1.0000015, 0.9999982) -bones/10/rotation = Quaternion(0.0030550272, 1.8111497e-09, 0.00026443633, 0.9999953) +bones/10/rotation = Quaternion(0.0126303, 1.9200463e-09, 0.0010932507, 0.9999197) bones/10/scale = Vector3(1.0000001, 1, 1.0000001) -bones/11/rotation = Quaternion(0.0022551394, 2.8531157e-09, 0.00019519978, 0.9999975) -bones/12/rotation = Quaternion(-0.0052811713, -0.031341314, -0.00029073664, 0.9994948) +bones/11/rotation = Quaternion(-0.006170082, 3.8348764e-09, -0.00053406827, 0.99998087) +bones/12/rotation = Quaternion(-0.0152742695, -0.031338077, -0.00084086903, 0.9993918) bones/12/scale = Vector3(0.99999994, 1, 1) -bones/13/rotation = Quaternion(0.77876115, 0.30721626, -0.53162175, 0.12855928) +bones/13/rotation = Quaternion(0.7723744, 0.31918967, -0.53638583, 0.11766903) bones/13/scale = Vector3(0.99999994, 0.99999964, 1.0000001) -bones/14/rotation = Quaternion(0.22030735, -0.6719112, 0.22030735, 0.6719113) +bones/14/rotation = Quaternion(0.23120742, -0.6682388, 0.2312073, 0.66823894) bones/14/scale = Vector3(1, 0.99999994, 1.0000001) bones/15/rotation = Quaternion(6.030765e-08, 0.70710677, -2.3986061e-08, 0.70710677) bones/15/scale = Vector3(1.0000001, 1, 1) -bones/16/rotation = Quaternion(0.18317544, 0.8933918, 0.22163484, 0.34521875) +bones/16/rotation = Quaternion(0.17814305, 0.89550704, 0.22026323, 0.34324405) bones/16/scale = Vector3(0.9999994, 0.9999993, 0.9999999) bones/17/position = Vector3(5.1376087e-10, 0.09612512, -0.0575) -bones/17/rotation = Quaternion(0.0006150109, 0.00061499974, -0.7048456, 0.7093602) -bones/18/rotation = Quaternion(0.7451951, -0.35638484, 0.56048125, 0.059455283) +bones/17/rotation = Quaternion(0.0024960204, 0.0024960218, -0.69788146, 0.7162045) +bones/18/rotation = Quaternion(0.7383435, -0.36540854, 0.5647569, 0.048736095) bones/18/scale = Vector3(0.99999994, 0.99999946, 1.0000001) -bones/19/rotation = Quaternion(0.23220101, 0.6678942, -0.23220083, 0.6678943) +bones/19/rotation = Quaternion(0.2403287, 0.6650128, -0.24032852, 0.665013) bones/19/scale = Vector3(1.0000001, 0.9999999, 1.0000001) bones/20/rotation = Quaternion(1.6763806e-08, -0.70710677, -1.6763806e-08, 0.70710677) bones/20/scale = Vector3(0.99999994, 0.99999994, 1) -bones/21/rotation = Quaternion(-0.13815045, 0.8884321, 0.2119508, -0.38298815) +bones/21/rotation = Quaternion(-0.13134925, 0.89124864, 0.21067889, -0.3795231) bones/21/scale = Vector3(0.99999905, 0.99999905, 1) bones/22/position = Vector3(-1.5415006e-08, 0.096125185, -0.0575) -bones/22/rotation = Quaternion(0.0006150109, -0.00061499974, 0.7048456, 0.7093602) +bones/22/rotation = Quaternion(0.0024960204, -0.0024960218, 0.69788146, 0.7162045) bones/22/scale = Vector3(1, 1.0000001, 1) [node name="RogueHooded_ArmLeft" parent="CharacterController/Graphics/Hoody Hood/Rig_Medium/GeneralSkeleton" index="0"] @@ -4093,7 +4378,7 @@ layers = 2 surface_material_override/0 = ExtResource("106_oi8o8") [node name="BoneAttachment3D" parent="CharacterController/Graphics/Hoody Hood/Rig_Medium/GeneralSkeleton" index="8"] -transform = Transform3D(0.5374286, -0.36845592, 0.7585582, 0.08326266, -0.87192243, -0.48251188, 0.83918875, 0.32247555, -0.43791792, -0.45242795, 0.6947015, 0.042391516) +transform = Transform3D(0.52800107, -0.36967513, 0.764562, 0.07429893, -0.8767245, -0.4752185, 0.845987, 0.30772242, -0.43544546, -0.45241544, 0.69065946, 0.042311836) [node name="sword_2handed_color" parent="CharacterController/Graphics/Hoody Hood/Rig_Medium/GeneralSkeleton/BoneAttachment3D/sword_2handed_color2" index="0"] layers = 2 @@ -4243,6 +4528,10 @@ name = "sword_attack" value = true metadata/_custom_type_script = "uid://dykyfwv0qjcbn" +[node name="GDScriptAction" type="Node" parent="CharacterController/On Sword Attack/ActionSequence/SetAnimationTreeBool"] +script = ExtResource("232_m7r8b") +metadata/_custom_type_script = "uid://c2m6vuo3nucna" + [node name="Delay" type="Node" parent="CharacterController/On Sword Attack/ActionSequence"] script = ExtResource("92_tr1d7") duration = 0.1 @@ -4297,6 +4586,10 @@ propertyName = SubResource("Resource_qrr03") duration = SubResource("Resource_hkpmc") metadata/_custom_type_script = "uid://b8entq7j3pe3i" +[node name="Parallel" type="Node" parent="CharacterController/On Sword Attack"] +script = ExtResource("33_o8r6f") +metadata/_custom_type_script = "uid://dy65lu5p2yf3j" + [node name="Disable Player Controls" type="Node" parent="CharacterController"] script = ExtResource("90_5p3uc") metadata/_custom_type_script = "uid://b4yjsis2fh64c" @@ -8484,82 +8777,82 @@ metadata/_custom_type_script = "uid://dma6i63t4myyu" [node name="Pole" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.24745186, -1.2769699e-07, 0.9689002, 7.1054274e-15, 1, 1.3179582e-07, -0.9689002, -3.2613112e-08, 0.24745186, 2.6126552, 0, 1.3397675) -[node name="@StaticBody3D@362241" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30905" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.24746443, -1.2769499e-07, 0.968897, -2.131628e-14, 1, 1.3179418e-07, -0.968897, -3.2614395e-08, 0.24746443, 1.6434426, -1.3183649e-07, 1.092226) -[node name="@StaticBody3D@362242" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30906" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.24746166, -1.2769418e-07, 0.9688977, 4.2632564e-14, 1, 1.3179324e-07, -0.9688977, -3.2613734e-08, 0.24746166, 0.676497, -2.6336443e-07, 0.84526443) -[node name="@StaticBody3D@362243" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30907" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.24745981, -1.2769517e-07, 0.9688982, -1.2789769e-13, 1, 1.3179424e-07, -0.9688982, -3.26139e-08, 0.24745981, -0.29044628, -3.948926e-07, 0.59830284) -[node name="@StaticBody3D@362244" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30908" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.24745889, -1.2769425e-07, 0.9688984, 9.2370556e-14, 1, 1.317932e-07, -0.9688984, -3.261331e-08, 0.24745889, -1.2573905, -5.2642076e-07, 0.35134315) -[node name="@StaticBody3D@362245" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30909" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.24746443, -1.2769344e-07, 0.968897, 2.8421706e-14, 1, 1.3179259e-07, -0.968897, -3.261395e-08, 0.24746443, -2.225751, -6.581413e-07, 0.10402107) -[node name="@StaticBody3D@362246" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30910" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.24746443, -1.2769432e-07, 0.968897, 2.131628e-14, 1, 1.317935e-07, -0.968897, -3.261418e-08, 0.24746443, -3.1941638, -7.898693e-07, -0.14331627) -[node name="@StaticBody3D@362247" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30911" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.24746443, -1.2769432e-07, 0.968897, 2.131628e-14, 1, 1.317935e-07, -0.968897, -3.261418e-08, 0.24746443, -4.162578, -9.2159735e-07, -0.3906517) -[node name="@StaticBody3D@362248" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30912" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.2474582, -1.2769503e-07, 0.9688986, 4.9737995e-14, 1, 1.31794e-07, -0.9688986, -3.2613457e-08, 0.2474582, -5.1309924, -1.0533254e-06, -0.63798714) -[node name="@StaticBody3D@362249" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30913" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.24746086, -1.2769425e-07, 0.9688979, -4.2632568e-14, 1, 1.3179331e-07, -0.9688979, -3.261373e-08, 0.24746086, -6.100232, -1.1851655e-06, -0.8855362) -[node name="@StaticBody3D@362250" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30914" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.2474582, -1.2769455e-07, 0.9688986, -4.2632568e-14, 1, 1.3179353e-07, -0.9688986, -3.2613432e-08, 0.2474582, -7.0703135, -1.3171202e-06, -1.133297) -[node name="@StaticBody3D@362251" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30915" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.9935537, -1.3427036e-08, -0.11336251, -4.2632564e-14, 1, -1.1844373e-07, 0.11336251, 1.17680216e-07, 0.9935537, -7.913049, -1.4176521e-06, -1.4884872) -[node name="@StaticBody3D@362252" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30916" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.97000825, -3.331323e-08, -0.24307209, -2.1316282e-14, 1, -1.3705092e-07, 0.24307209, 1.3294053e-07, 0.97000825, -7.6884084, -1.2831135e-06, -2.4631443) -[node name="@StaticBody3D@362253" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30917" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.9423538, -4.9882896e-08, -0.3346182, 5.6843426e-14, 1, -1.490739e-07, 0.3346182, 1.4048034e-07, 0.9423538, -7.399719, -1.1379084e-06, -3.4408388) [node name="Segment" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(-0.9692128, -1.2769453e-07, 0.2474621, -1.3183652e-07, 1, 0, -0.2475426, -3.261393e-08, -0.9688976, 2.1280484, 0.56389993, 1.2159958) -[node name="@StaticBody3D@362254" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30918" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(-0.966945, -1.2769459e-07, 0.24746025, -1.3152795e-07, 1, 3.5527137e-15, -0.24696143, -3.261368e-08, -0.96889806, 1.1599689, 0.5638998, 0.9687443) -[node name="@StaticBody3D@362255" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30919" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(-0.9669439, -1.2769499e-07, 0.24745955, -1.3152817e-07, 1, -5.516598e-15, -0.2469604, -3.261369e-08, -0.96889824, 0.19302511, 0.56389964, 0.7217846) -[node name="@StaticBody3D@362256" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30920" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(-0.9669439, -1.2769499e-07, 0.24745955, -1.3152817e-07, 1, -5.516598e-15, -0.2469604, -3.261369e-08, -0.96889824, -0.77391815, 0.5638995, 0.474823) -[node name="@StaticBody3D@362257" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30921" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(-0.9683606, -1.2769462e-07, 0.24745978, -1.3172051e-07, 1, 0, -0.24732248, -3.2613627e-08, -0.9688982, -1.741571, 0.5638994, 0.22768211) -[node name="@StaticBody3D@362258" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30922" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(-0.96841353, -1.2769495e-07, 0.24745978, -1.3172806e-07, 1, -3.552714e-15, -0.247336, -3.2613713e-08, -0.9688982, -2.709958, 0.5638993, -0.019647598) -[node name="@StaticBody3D@362259" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30923" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(-0.9684139, -1.276949e-07, 0.24745978, -1.3172806e-07, 1, 3.552714e-15, -0.24733609, -3.2613695e-08, -0.9688982, -3.678372, 0.56389916, -0.26698303) -[node name="@StaticBody3D@362260" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30924" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(-0.96841407, -1.2769493e-07, 0.24745908, -1.3172806e-07, 1, -3.5527137e-15, -0.24733539, -3.261361e-08, -0.96889836, -4.6467853, 0.563899, -0.5143204) -[node name="@StaticBody3D@362261" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30925" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(-0.9692401, -1.276945e-07, 0.24746093, -1.3184012e-07, 1, 3.552714e-15, -0.24754834, -3.2613755e-08, -0.9688979, -5.615612, 0.56389886, -0.7617626) -[node name="@StaticBody3D@362262" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30926" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(-0.97008145, -1.2769478e-07, 0.24745955, -1.3195474e-07, 1, 1.5888332e-15, -0.24776174, -3.2613634e-08, -0.96889824, -6.585273, 0.56389874, -1.0094166) -[node name="@StaticBody3D@362263" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30927" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(-0.842736, -1.0129791e-07, 0.38838512, -1.0053193e-07, 1, 0, -0.3551895, -4.2694214e-08, -0.92149717, -7.491682, 0.5638986, -1.3108921) -[node name="@StaticBody3D@362264" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30928" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(0.22463985, -3.0210007e-08, 0.97445273, 1.3453861e-07, 1, -5.3290705e-15, -0.9746579, 1.3107392e-07, 0.22459257, -7.8007293, 0.5638986, -1.9758167) -[node name="@StaticBody3D@362265" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30929" type="StaticBody3D" parent="Level/City/Fence/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(0.28869, -4.033704e-08, 0.959064, 1.4520519e-07, 1, -7.797712e-15, -0.97769296, 1.366076e-07, 0.2831893, -7.544064, 0.5638988, -2.951992) [node name="Fence2" type="Node3D" parent="Level/City"] @@ -8637,82 +8930,82 @@ metadata/_custom_type_script = "uid://dma6i63t4myyu" [node name="Pole" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.9716608, -1.2938479e-07, -0.23637955, 2.557954e-13, 1, -5.473593e-07, 0.23637955, 5.3184755e-07, 0.9716608, -6.746191, -1.6073213e-06, -6.1097593) -[node name="@StaticBody3D@362266" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30930" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.97166055, -1.2938537e-07, -0.23638058, -2.2737368e-13, 1, -5.4736137e-07, 0.23638058, 5.318495e-07, 0.97166055, -6.5062113, -1.0516269e-06, -7.0962143) -[node name="@StaticBody3D@362267" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30931" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(0.7057637, -3.8093032e-07, -0.70844734, -9.947598e-14, 1, -5.3769753e-07, 0.70844734, 3.7948746e-07, 0.7057637, -6.269187, -5.027714e-07, -8.070531) -[node name="@StaticBody3D@362268" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30932" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(-0.2779772, -1.07419545e-07, -0.9605877, -2.4868997e-14, 1, -1.1182689e-07, 0.9605877, -3.1085303e-08, -0.2779772, -5.321661, -3.698044e-07, -7.841668) -[node name="@StaticBody3D@362269" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30933" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(-0.2780144, -1.0739825e-07, -0.9605769, 2.4868997e-14, 1, -1.11805996e-07, 0.9605769, -3.10837e-08, -0.2780144, -4.361126, -2.5798363e-07, -7.5637054) -[node name="@StaticBody3D@362270" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30934" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(-0.28213567, -1.0498671e-07, -0.95937455, 1.4210856e-14, 1, -1.0943246e-07, 0.95937455, -3.0874816e-08, -0.28213567, -3.4034705, -1.4845864e-07, -7.282652) -[node name="@StaticBody3D@362271" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30935" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(-0.28213567, -1.04986064e-07, -0.95937455, 1.0658142e-14, 1, -1.0943178e-07, 0.95937455, -3.087462e-08, -0.28213567, -2.446238, -3.9270162e-08, -7.001148) -[node name="@StaticBody3D@362272" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30936" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(-0.2821367, -1.0498687e-07, -0.9593742, -2.4868997e-14, 1, -1.0943265e-07, 0.9593742, -3.0874943e-08, -0.2821367, -1.4890046, 6.991854e-08, -6.7196436) -[node name="@StaticBody3D@362273" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30937" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(-0.28213543, -1.04986704e-07, -0.9593746, -3.552714e-15, 1, -1.0943244e-07, 0.9593746, -3.0874766e-08, -0.28213543, -0.5317712, 1.7910702e-07, -6.438136) -[node name="@StaticBody3D@362274" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30938" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(-0.28432858, -1.0370141e-07, -0.9587269, 0, 1, -1.0816575e-07, 0.9587269, -3.0754613e-08, -0.28432858, 0.4246149, 2.8763316e-07, -6.1557493) -[node name="@StaticBody3D@362275" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30939" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(-0.2843311, -1.03701844e-07, -0.95872617, -2.842171e-14, 1, -1.08166276e-07, 0.95872617, -3.075501e-08, -0.2843311, 1.3800678, 3.9542988e-07, -5.872389) -[node name="@StaticBody3D@362276" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30940" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(-0.28432858, -1.0370186e-07, -0.9587269, -3.5527137e-15, 1, -1.0816621e-07, 0.9587269, -3.075474e-08, -0.28432858, 2.3355222, 5.0322683e-07, -5.5890284) -[node name="@StaticBody3D@362277" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30941" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(-0.2861358, -1.0264401e-07, -0.9581891, 1.7763568e-14, 1, -1.0712292e-07, 0.9581891, -3.065172e-08, -0.2861358, 3.2909818, 6.109675e-07, -5.3055525) -[node name="@StaticBody3D@362278" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] +[node name="@StaticBody3D@30942" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("129_y6wps")] transform = Transform3D(-0.29183987, -9.930432e-08, -0.9564672, 7.1054274e-15, 1, -1.0382407e-07, 0.9564672, -3.030001e-08, -0.29183987, 4.248389, 7.1712225e-07, -5.017887) [node name="Segment" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(0.23997897, -1.2938501e-07, 0.97166073, 5.5569444e-07, 1, 0, -0.986455, 5.318487e-07, 0.2363799, -6.6262016, 0.5638987, -6.6029873) -[node name="@StaticBody3D@362279" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30943" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(0.23702416, -1.2938405e-07, 0.9716611, 5.4885555e-07, 1, 4.2632568e-14, -0.97431606, 5.3184834e-07, 0.23637828, -6.3876996, 0.5638992, -7.583372) -[node name="@StaticBody3D@362280" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30944" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(0.94752634, -1.3259518e-07, -0.23478378, 1.3296702e-07, 1, -3.552714e-15, 0.22886103, -3.2026406e-08, 0.9720476, -5.7954245, 0.5638996, -7.9561005) -[node name="@StaticBody3D@362281" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30945" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(0.96053535, -1.0741943e-07, -0.27797857, 1.1182079e-07, 1, 0, 0.27796355, -3.1085463e-08, 0.96058726, -4.8413935, 0.5638997, -7.702688) -[node name="@StaticBody3D@362282" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30946" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(0.95765525, -1.0529848e-07, -0.28160286, 1.0952499e-07, 1, 1.2119149e-15, 0.28105235, -3.0902964e-08, 0.95953107, -3.8822982, 0.5638998, -7.4231787) -[node name="@StaticBody3D@362283" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30947" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(0.9572329, -1.0498706e-07, -0.28213513, 1.091885e-07, 1, -5.037709e-15, 0.28150526, -3.0874833e-08, 0.95937467, -2.9248548, 0.5638999, -7.141901) -[node name="@StaticBody3D@362284" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30948" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(0.9572333, -1.0498726e-07, -0.2821349, 1.0918874e-07, 1, 1.7763568e-15, 0.28150514, -3.087487e-08, 0.9593747, -1.9676208, 0.5639, -6.8603954) -[node name="@StaticBody3D@362285" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30949" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(0.9572333, -1.0498704e-07, -0.2821349, 1.0918851e-07, 1, 1.7763568e-15, 0.28150514, -3.0874805e-08, 0.9593747, -1.0103884, 0.5639001, -6.578889) -[node name="@StaticBody3D@362286" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30950" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(0.95638615, -1.0437552e-07, -0.28318027, 1.0852614e-07, 1, 3.5527137e-15, 0.2823888, -3.0818597e-08, 0.9590667, -0.053578377, 0.56390023, -6.2969437) -[node name="@StaticBody3D@362287" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30951" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(0.955453, -1.0370163e-07, -0.28433084, 1.0779675e-07, 1, 3.5527137e-15, 0.2833601, -3.0754947e-08, 0.9587262, 0.90234137, 0.56390035, -6.0140676) -[node name="@StaticBody3D@362288" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30952" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(0.95545405, -1.037017e-07, -0.2843308, 1.0779695e-07, 1, 1.776357e-15, 0.28336036, -3.075496e-08, 0.9587262, 1.8577943, 0.5639005, -5.730709) -[node name="@StaticBody3D@362289" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30953" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(0.9554604, -1.03640176e-07, -0.2844354, 1.0774068e-07, 1, -3.552714e-15, 0.28347567, -3.074901e-08, 0.95869523, 2.813252, 0.56390053, -5.4472904) -[node name="@StaticBody3D@362290" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] +[node name="@StaticBody3D@30954" type="StaticBody3D" parent="Level/City/Fence2/Output" instance=ExtResource("128_gla4y")] transform = Transform3D(0.957406, -1.0169653e-07, -0.28775427, 1.06154744e-07, 1, -1.7763568e-15, 0.28766462, -3.0556e-08, 0.9577043, 3.7696853, 0.56390065, -5.1617203) [node name="Presents" type="Node" parent="Level"] @@ -8802,6 +9095,21 @@ shadow_enabled = true shadow_opacity = 0.49 directional_shadow_blend_splits = true +[node name="Rounded-Cube-Baked" parent="Level" instance=ExtResource("302_wpvj8")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.711935, 0) + +[node name="Cube LP_Baked" parent="Level/Rounded-Cube-Baked" index="0"] +lod_bias = 128.0 +surface_material_override/0 = SubResource("ShaderMaterial_sw5v3") + +[node name="round-cube" parent="Level" instance=ExtResource("302_4545n")] +transform = Transform3D(0.35473818, 0.93496567, 0, -0.93496567, 0.35473818, 0, 0, 0, 1, -1.2631377, 5.463091, 0) + +[node name="Cube" parent="Level/round-cube" index="0"] +transform = Transform3D(-0.1278032, -0.8801883, -0.4570947, 0.23284692, 0.42136502, -0.87649024, 0.9640795, -0.21845119, 0.15109715, 0, 1.7104464, 0) +lod_bias = 128.0 +surface_material_override/0 = SubResource("ShaderMaterial_t5au6") + [editable path="CharacterController/Graphics/Hoody Hood"] [editable path="CharacterController/Graphics/Hoody Hood/Rig_Medium/GeneralSkeleton/BoneAttachment3D/sword_2handed_color2"] [editable path="Level/Mountains/mountains"] @@ -8839,3 +9147,5 @@ directional_shadow_blend_splits = true [editable path="Level/City/Small House2/lantern-hanging3"] [editable path="Level/City/Small House2/lantern-hanging4"] [editable path="Level/City/Small House2/lantern-hanging5"] +[editable path="Level/Rounded-Cube-Baked"] +[editable path="Level/round-cube"] diff --git a/VFX/CompositorVFXFader.cs b/VFX/CompositorVFXFader.cs new file mode 100644 index 0000000..0170c3c --- /dev/null +++ b/VFX/CompositorVFXFader.cs @@ -0,0 +1,76 @@ + +using System; +using Godot; + + +namespace Rokojori +{ + [Tool][GlobalClass ] + public partial class CompositorVFXFader: Node + { + [Export] + public CompositorVFX[] effects; + + float _value = 0; + [Export( PropertyHint.Range, "0,1")] + public float value + { + get { return _value; } + set + { + _value = value; + try + { + UpdateValue(); + } + catch( Exception e ) + { + this.LogError( e ); + } + + } + } + + void UpdateValue() + { + if ( effects == null ) + { + return; + } + + var position = _value * effects.Length - 1f; // 0 1 2 3 + + var lower = Mathf.Floor( position ); + var higher = lower + 1; + var highAmount = position - lower; + var lowAmount = 1f - highAmount; + + if ( lower >= effects.Length - 1) + { + for ( int i = 0; i < effects.Length; i++ ) + { + effects[ i ].driverValue = i == effects.Length - 1 ? 1f : 0f; + } + } + + for ( int i = 0; i < effects.Length; i++ ) + { + if ( i != lower && i != higher ) + { + effects[ i ].driverValue = 0; + continue; + } + + if ( i == lower ) + { + effects[ i ].driverValue = lowAmount; + } + else + { + effects[ i ].driverValue = highAmount; + } + } + } + + } +} \ No newline at end of file diff --git a/VFX/CompositorVFXFader.cs.uid b/VFX/CompositorVFXFader.cs.uid new file mode 100644 index 0000000..e64d008 --- /dev/null +++ b/VFX/CompositorVFXFader.cs.uid @@ -0,0 +1 @@ +uid://drcp6asmxo5j4 diff --git a/VFX/Highlights-Shader.gdshader b/VFX/Highlights-Shader.gdshader new file mode 100644 index 0000000..02a480d --- /dev/null +++ b/VFX/Highlights-Shader.gdshader @@ -0,0 +1,72 @@ +shader_type spatial; +render_mode blend_mix, depth_draw_opaque, cull_back, diffuse_burley, specular_schlick_ggx, unshaded; +stencil_mode write, compare_less_or_equal, 1; + +uniform vec4 albedo : source_color; +uniform sampler2D texture_albedo : source_color, filter_linear_mipmap, repeat_enable; + +uniform bool useNormalMap = false; +uniform bool flipNormalMapZ = true; +uniform sampler2D texture_normal : filter_linear_mipmap, repeat_enable; + +uniform float uvScale; +uniform float uvOffset; +uniform float uvSpeed; + +uniform vec2 highlightDirection1; +uniform float highlightSharpness1: hint_range(0.0, 1.0) = 0.9; +uniform float highlightSize1: hint_range(0.0, 1.0) = 0.1; + +uniform vec2 highlightDirection2; +uniform float highlightSharpness2: hint_range(0.0, 1.0) = 0.9; +uniform float highlightSize2: hint_range(0.0, 1.0) = 0.1; + +varying float albedoU; + +void vertex() +{ + albedoU = VERTEX.y * uvScale + uvOffset + uvSpeed * TIME; +} + +vec3 computeNormal( vec3 t, vec3 b, vec3 n, vec2 _UV ) +{ + vec3 sampledNormal = texture( texture_normal, _UV ).xyz * 2.0 - 1.0; + + if ( flipNormalMapZ ) + { + sampledNormal.z *= -1.0; + } + return normalize( mat3( t, b, n ) * sampledNormal ); +} + +float computeHighlight( vec3 lightDirection, vec3 _NORMAL, float size, float sharpness ) +{ + float invSize = 1.0 - pow( size, 3 ); + float invSharpness = 1.0 - pow( sharpness, 0.1 ); + float lowerEdge = invSize - invSharpness; + float upperEdge = invSize + invSharpness; + + return smoothstep( lowerEdge, upperEdge, dot( _NORMAL, normalize( lightDirection ) ) ); +} + +void fragment() +{ + vec2 base_uv = UV; + + vec4 albedo_tex = texture(texture_albedo, vec2( albedoU, 0.0 )); + ALBEDO = albedo.rgb * albedo_tex.rgb; + + vec3 combinedNormal = NORMAL; + + if ( useNormalMap ) + { + combinedNormal = computeNormal( TANGENT, BINORMAL, NORMAL, UV ); + } + + float highlight1 = computeHighlight( vec3( highlightDirection1, 1.0 ), combinedNormal, highlightSize1, highlightSharpness1 ); + float highlight2 = computeHighlight( vec3( highlightDirection2, 1.0 ), combinedNormal, highlightSize2, highlightSharpness2 ); + + float highlightsCombined = max( highlight1, highlight2 ); + ALBEDO = mix( ALBEDO, vec3( 1.0 ), highlightsCombined ); + +} diff --git a/VFX/Highlights-Shader.gdshader.uid b/VFX/Highlights-Shader.gdshader.uid new file mode 100644 index 0000000..5dab06d --- /dev/null +++ b/VFX/Highlights-Shader.gdshader.uid @@ -0,0 +1 @@ +uid://dc3uyxyngaw1c diff --git a/addons/compositor-lens-flare/downsample.glsl b/addons/compositor-lens-flare/downsample.glsl deleted file mode 100644 index 9eac7b6..0000000 --- a/addons/compositor-lens-flare/downsample.glsl +++ /dev/null @@ -1,41 +0,0 @@ -#[compute] -#version 450 - -// Adapted from https://john-chapman-graphics.blogspot.com/2013/02/pseudo-lens-flare.html - -// Invocations in the (x, y, z) dimension -layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in; - -layout(rgba16f, set = 0, binding = 0) uniform image2D color_image; -layout(rgba16f, set = 1, binding = 0) uniform image2D output_image; - -// Our push constant -layout(push_constant, std430) uniform Params { - vec2 raster_size; - float scale; - float bias; - float desaturation; -} params; - -// The code we want to execute in each invocation -void main() { - ivec2 uv = ivec2(gl_GlobalInvocationID.xy); - ivec2 size = ivec2(params.raster_size); - - if (uv.x >= size.x || uv.y >= size.y) { - return; - } - - vec4 color = imageLoad(color_image, uv); - - vec3 scale = vec3(1.0) * params.scale; - vec3 bias = vec3(-1.0) * params.bias; - - color.rgb = max(vec3(0.0, 0.0, 0.0), color.rgb + bias) * scale; - - // Move each channel a bit towards the highest channel to desaturate while keeping darks - float highest_color = max(color.r, max(color.g, color.b)); - color.rgb = mix(color.rgb, vec3(highest_color), vec3(params.desaturation)); - - imageStore(output_image, uv, color); -} diff --git a/addons/compositor-lens-flare/downsample.glsl.import b/addons/compositor-lens-flare/downsample.glsl.import deleted file mode 100644 index 6a2279a..0000000 --- a/addons/compositor-lens-flare/downsample.glsl.import +++ /dev/null @@ -1,14 +0,0 @@ -[remap] - -importer="glsl" -type="RDShaderFile" -uid="uid://dl8tsatdw7ylg" -path="res://.godot/imported/downsample.glsl-440ef8d666bfe0ff38a98dba9c03351a.res" - -[deps] - -source_file="res://addons/compositor-lens-flare/downsample.glsl" -dest_files=["res://.godot/imported/downsample.glsl-440ef8d666bfe0ff38a98dba9c03351a.res"] - -[params] - diff --git a/addons/compositor-lens-flare/gaussian_blur.glsl b/addons/compositor-lens-flare/gaussian_blur.glsl deleted file mode 100644 index 0f12282..0000000 --- a/addons/compositor-lens-flare/gaussian_blur.glsl +++ /dev/null @@ -1,77 +0,0 @@ -#[compute] -#version 450 - -// From https://github.com/BastiaanOlij/RERadialSunRays - -// Invocations in the (x, y, z) dimension -layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in; - -layout(rgba16f, set = 0, binding = 0) uniform restrict readonly image2D input_image; -layout(rgba16f, set = 1, binding = 0) uniform restrict writeonly image2D output_image; - -// Our push PushConstant -layout(push_constant, std430) uniform Params { - vec2 image_size; - vec2 blur_size; -} params; - -// Gaussian coefficients -const int M = 16; -const int N = 2 * M + 1; - -// sigma = 10 -const float coeffs[N] = float[N]( - 0.012318109844189502, - 0.014381474814203989, - 0.016623532195728208, - 0.019024086115486723, - 0.02155484948872149, - 0.02417948052890078, - 0.02685404941667096, - 0.0295279624870386, - 0.03214534135442581, - 0.03464682117793548, - 0.0369716985390341, - 0.039060328279673276, - 0.040856643282313365, - 0.04231065439216247, - 0.043380781642569775, - 0.044035873841196206, - 0.04425662519949865, - 0.044035873841196206, - 0.043380781642569775, - 0.04231065439216247, - 0.040856643282313365, - 0.039060328279673276, - 0.0369716985390341, - 0.03464682117793548, - 0.03214534135442581, - 0.0295279624870386, - 0.02685404941667096, - 0.02417948052890078, - 0.02155484948872149, - 0.019024086115486723, - 0.016623532195728208, - 0.014381474814203989, - 0.012318109844189502 -); - -// The code we want to execute in each invocation -void main() { - vec2 uv = vec2(gl_GlobalInvocationID.xy); - - // Just in case the effect_size size is not divisable by 8 - if ((uv.x >= params.image_size.x) || (uv.y >= params.image_size.y)) { - return; - } - - vec4 blurred = vec4(0.0); - float half_size = float(M); - - for (int i = 0; i < N; i ++) { - ivec2 uv_adj = ivec2(uv + (params.blur_size * (float(i) - half_size) / half_size)); - blurred += coeffs[i] * imageLoad(input_image, uv_adj).rgba; - } - - imageStore(output_image, ivec2(gl_GlobalInvocationID.xy), blurred); -} diff --git a/addons/compositor-lens-flare/gaussian_blur.glsl.import b/addons/compositor-lens-flare/gaussian_blur.glsl.import deleted file mode 100644 index 3f01fc4..0000000 --- a/addons/compositor-lens-flare/gaussian_blur.glsl.import +++ /dev/null @@ -1,14 +0,0 @@ -[remap] - -importer="glsl" -type="RDShaderFile" -uid="uid://u7ma88av4j7d" -path="res://.godot/imported/gaussian_blur.glsl-ae231c750f05d9216af6ba321c536d92.res" - -[deps] - -source_file="res://addons/compositor-lens-flare/gaussian_blur.glsl" -dest_files=["res://.godot/imported/gaussian_blur.glsl-ae231c750f05d9216af6ba321c536d92.res"] - -[params] - diff --git a/addons/compositor-lens-flare/lens-dirt.png b/addons/compositor-lens-flare/lens-dirt.png deleted file mode 100644 index a65b14e..0000000 Binary files a/addons/compositor-lens-flare/lens-dirt.png and /dev/null differ diff --git a/addons/compositor-lens-flare/lens.glsl b/addons/compositor-lens-flare/lens.glsl deleted file mode 100644 index 355ccd4..0000000 --- a/addons/compositor-lens-flare/lens.glsl +++ /dev/null @@ -1,79 +0,0 @@ -#[compute] -#version 450 - -// Adapted from https://john-chapman-graphics.blogspot.com/2013/02/pseudo-lens-flare.html - -// Invocations in the (x, y, z) dimension -layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in; - -layout(rgba16f, set = 0, binding = 0) uniform image2D downsampled_image; -layout(rgba16f, set = 1, binding = 0) uniform image2D color_image; -layout(set = 2, binding = 0) uniform sampler2D lens_color_ramp; - -// Our push constant -layout(push_constant, std430) uniform Params { - vec2 raster_size; - int ghost_count; - float ghost_dispersal; - float ca_scale; - float halo_width; - float halo_weight_power; -} params; - -vec3 imageDistorted( - in ivec2 texcoord, - in vec2 direction, // direction of distortion - in vec3 distortion // per-channel distortion factor -) { - return vec3( - imageLoad(downsampled_image, texcoord + ivec2(direction * distortion.r)).r, - imageLoad(downsampled_image, texcoord + ivec2(direction * distortion.g)).g, - imageLoad(downsampled_image, texcoord + ivec2(direction * distortion.b)).b - ); -} - -// The code we want to execute in each invocation -void main() { - ivec2 uv = ivec2(gl_GlobalInvocationID.xy); - ivec2 size = ivec2(params.raster_size); - - if (uv.x >= size.x || uv.y >= size.y) { - return; - } - - vec4 color = vec4(0.0, 0.0, 0.0, 1.0); - - vec2 resolution = params.raster_size; - - vec2 texelSize = 1.0 / vec2(resolution); - - vec2 uv_norm = uv / resolution; - vec2 texcoord = vec2(1.0) - uv_norm; - - vec2 ghost_vec = (vec2(0.5) - texcoord) * params.ghost_dispersal; - - vec3 distortion = vec3(-1.0, 0.0, 1.0) * params.ca_scale; - vec2 direction = normalize(ghost_vec); - - vec3 result = vec3(0.0); - for (int i = 0; i < params.ghost_count; ++i) { - vec2 offset = fract(texcoord + ghost_vec * float(i)); - - float weight = length(vec2(0.5) - offset) / length(vec2(0.5)); - weight = pow(1.0 - weight, 2.0); - - result += imageDistorted(ivec2(offset * resolution), direction, distortion).rgb * (1.0 / weight); - } - - // sample halo: - vec2 haloVec = normalize(ghost_vec) * params.halo_width; - float weight = length(vec2(0.5) - fract(texcoord + haloVec)) / length(vec2(0.5)); - weight = pow(1.0 - weight, params.halo_weight_power); - result += imageDistorted(ivec2((texcoord + haloVec) * resolution), direction, distortion).rgb * weight; - - result *= texture(lens_color_ramp, vec2((length(vec2(0.5) - texcoord) / length(vec2(0.5))), 0.0)).rgb; - - color.rgb = result.rgb; - - imageStore(color_image, uv, color); -} diff --git a/addons/compositor-lens-flare/lens.glsl.import b/addons/compositor-lens-flare/lens.glsl.import deleted file mode 100644 index fb355a6..0000000 --- a/addons/compositor-lens-flare/lens.glsl.import +++ /dev/null @@ -1,14 +0,0 @@ -[remap] - -importer="glsl" -type="RDShaderFile" -uid="uid://bsxtc5veahkcx" -path="res://.godot/imported/lens.glsl-a4f9cddc8c0de1b4404d44442bcc4fdd.res" - -[deps] - -source_file="res://addons/compositor-lens-flare/lens.glsl" -dest_files=["res://.godot/imported/lens.glsl-a4f9cddc8c0de1b4404d44442bcc4fdd.res"] - -[params] - diff --git a/addons/compositor-lens-flare/lens_color_ramp.tres b/addons/compositor-lens-flare/lens_color_ramp.tres deleted file mode 100644 index c598b0d..0000000 --- a/addons/compositor-lens-flare/lens_color_ramp.tres +++ /dev/null @@ -1,8 +0,0 @@ -[gd_resource type="GradientTexture1D" load_steps=2 format=3 uid="uid://dawnxeg62rkll"] - -[sub_resource type="Gradient" id="Gradient_d7nfd"] -offsets = PackedFloat32Array(0, 0.08665106, 0.14051522, 0.20608899, 0.28103045, 0.33021078, 0.60421544, 0.6557377, 0.6955503, 0.86885244, 0.9086651, 0.9437939) -colors = PackedColorArray(1, 1, 1, 1, 0.98866665, 0.83, 1, 1, 0.8, 1, 0.9833333, 1, 1, 1, 1, 1, 0.8208334, 0.57, 1, 1, 0.8833334, 0.72, 1, 1, 0.7958334, 0.51, 1, 1, 1, 0.35000002, 0.6641668, 1, 1, 0.7725, 0.35000002, 1, 1, 0.94, 0.55, 1, 1, 0.39999998, 0.8800001, 1, 1, 0.984, 0.52, 1) - -[resource] -gradient = SubResource("Gradient_d7nfd") diff --git a/addons/compositor-lens-flare/lens_flare_compositor_effect.tres b/addons/compositor-lens-flare/lens_flare_compositor_effect.tres deleted file mode 100644 index 4aa1a97..0000000 --- a/addons/compositor-lens-flare/lens_flare_compositor_effect.tres +++ /dev/null @@ -1,29 +0,0 @@ -[gd_resource type="CompositorEffect" script_class="PostProcessShader" load_steps=6 format=3 uid="uid://cpnwkm1swg8u0"] - -[ext_resource type="Texture2D" uid="uid://dawnxeg62rkll" path="res://addons/compositor-lens-flare/lens_color_ramp.tres" id="1_1jo43"] -[ext_resource type="Texture2D" uid="uid://detsilp12nioo" path="res://addons/compositor-lens-flare/lens-dirt.png" id="1_v4on2"] -[ext_resource type="Script" uid="uid://0dlqdm6ci0xm" path="res://addons/compositor-lens-flare/post_process_shader.gd" id="2_v4on2"] - -[sub_resource type="Gradient" id="Gradient_v4on2"] -offsets = PackedFloat32Array(0) -colors = PackedColorArray(1, 1, 1, 1) - -[sub_resource type="GradientTexture1D" id="GradientTexture1D_wwdrl"] -gradient = SubResource("Gradient_v4on2") -width = 1 - -[resource] -resource_local_to_scene = false -resource_name = "" -enabled = true -effect_callback_type = 4 -needs_motion_vectors = false -needs_normal_roughness = false -script = ExtResource("2_v4on2") -glare_streak_count = 4 -glare_attenuation = 0.9839 -glare_samples = 2 -flare_color_ramp = ExtResource("1_1jo43") -overlay_dirt_texture = ExtResource("1_v4on2") -overlay_white_texture = SubResource("GradientTexture1D_wwdrl") -metadata/_custom_type_script = "uid://0dlqdm6ci0xm" diff --git a/addons/compositor-lens-flare/overlay.glsl b/addons/compositor-lens-flare/overlay.glsl deleted file mode 100644 index d02e1df..0000000 --- a/addons/compositor-lens-flare/overlay.glsl +++ /dev/null @@ -1,37 +0,0 @@ -#[compute] -#version 450 - -// Invocations in the (x, y, z) dimension -layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in; - -layout(rgba16f, set = 0, binding = 0) uniform image2D overlay_image; -layout(rgba16f, set = 1, binding = 0) uniform image2D color_image; -layout(set = 2, binding = 0) uniform sampler2D dirt_texture; - -// Our push PushConstant -layout(push_constant, std430) uniform Params { - vec2 render_size; - float res; - float dirt_power; -} params; - -// The code we want to execute in each invocation -void main() { - ivec2 render_size = ivec2(params.render_size.xy); - - ivec2 uv = ivec2(gl_GlobalInvocationID.xy); - - // Just in case the render_size size is not divisable by 8 - if ((uv.x >= render_size.x) || (uv.y >= render_size.y)) { - return; - } - - float dirt = texture(dirt_texture, vec2(uv) / vec2(render_size)).r; - - vec4 color = imageLoad(color_image, uv); - vec4 overlay = imageLoad(overlay_image, uv) * mix(1.0, dirt, params.dirt_power); - - color += overlay; - - imageStore(color_image, uv, color); -} diff --git a/addons/compositor-lens-flare/overlay.glsl.import b/addons/compositor-lens-flare/overlay.glsl.import deleted file mode 100644 index b32054e..0000000 --- a/addons/compositor-lens-flare/overlay.glsl.import +++ /dev/null @@ -1,14 +0,0 @@ -[remap] - -importer="glsl" -type="RDShaderFile" -uid="uid://c1rq8g3b4ci41" -path="res://.godot/imported/overlay.glsl-39d5630b163e8c81fa676fad2b9ace7e.res" - -[deps] - -source_file="res://addons/compositor-lens-flare/overlay.glsl" -dest_files=["res://.godot/imported/overlay.glsl-39d5630b163e8c81fa676fad2b9ace7e.res"] - -[params] - diff --git a/addons/compositor-lens-flare/post_process_shader.gd b/addons/compositor-lens-flare/post_process_shader.gd deleted file mode 100644 index ebae276..0000000 --- a/addons/compositor-lens-flare/post_process_shader.gd +++ /dev/null @@ -1,543 +0,0 @@ -@tool -extends CompositorEffect -class_name PostProcessShader - -# Lens flare effect based on https://john-chapman-graphics.blogspot.com/2013/02/pseudo-lens-flare.html -# References used for CompositorEffect structure: -# - https://github.com/pink-arcana/godot-distance-field-outlines -# - https://github.com/BastiaanOlij/RERadialSunRays - -var context := "LENS_FLARE" - -var downsample_shader_file = load("res://addons/compositor-lens-flare/downsample.glsl") -var lens_shader_file = load("res://addons/compositor-lens-flare/lens.glsl") -var blur_shader_file = load("res://addons/compositor-lens-flare/gaussian_blur.glsl") -var overlay_shader_file = load("res://addons/compositor-lens-flare/overlay.glsl") -var streak_shader_file = load("res://addons/compositor-lens-flare/streak.glsl") - -@export_tool_button("Reload", "Callable") var reload_action = reload - -@export_group("Downsample", "downsample_") -@export_range(0.0, 5.0) var downsample_scale := 0.2 -@export_range(0.0, 5.0) var downsample_bias := 0.6 -@export_range(0.0, 1.0) var downsample_desaturation := 0.5 - -@export_group("Glare", "glare_") -@export_range(0, 12) var glare_streak_count := 6 -@export_range(0.8, 1.0) var glare_attenuation: float = 0.975 -@export_range(1, 12) var glare_samples: int = 4 - -@export_group("Lens Flare", "flare_") -@export var flare_color_ramp: Texture2D -@export_range(1, 16) var flare_ghost_count := 8 -@export_range(0.0, 2.0) var flare_ghost_dispersal := 0.25 -@export_range(0.0, 10.0) var flare_chromatic_abberation_scale := 7.0 -@export_range(0.0, 1.0) var flare_halo_width := 0.4 -@export_range(1.0, 10.0) var flare_halo_weight_power := 5.0 - -@export_group("Guassian Blur", "gaussian_blur_") -@export_range(5.0, 50.0) var gaussian_blur_size: float = 16.0 - -@export_group("Overlay", "overlay_") -@export var overlay_dirt_texture: Texture2D -@export var overlay_white_texture: Texture2D -@export_range(0.0, 1.0) var overlay_dirt_texture_power := 0.6 - -var downsample_shader: RID -var downsample_pipeline: RID - -var lens_shader: RID -var lens_pipeline: RID - -var blur_shader: RID -var blur_pipeline: RID - -var overlay_shader: RID -var overlay_pipeline: RID - -var streak_shader: RID -var streak_pipeline: RID - -var rd: RenderingDevice - -var mutex: Mutex = Mutex.new() -var shader_is_dirty: bool = true - -var clamp_linear_texture_sampler: RID - -# Called when this resource is constructed. -func _init(): - effect_callback_type = EFFECT_CALLBACK_TYPE_POST_TRANSPARENT - RenderingServer.call_on_render_thread(_initialize_compute) - - -# System notifications, we want to react on the notification that -# alerts us we are about to be destroyed. -func _notification(what): - if what == NOTIFICATION_PREDELETE: - cleanup() - - -func cleanup(): - if lens_shader.is_valid(): - rd.free_rid(lens_shader) - if downsample_shader.is_valid(): - rd.free_rid(downsample_shader) - if blur_shader.is_valid(): - rd.free_rid(blur_shader) - if overlay_shader.is_valid(): - rd.free_rid(overlay_shader) - if streak_shader.is_valid(): - rd.free_rid(streak_shader) - - -func reload(): - cleanup() - - RenderingServer.call_on_render_thread(_initialize_compute) - - -func _initialize_compute(): - rd = RenderingServer.get_rendering_device() - - # Create samplers - clamp_linear_texture_sampler = create_texture_sampler() - - # Compile all shaders and create pipelines - - var lens_shader_spirv: RDShaderSPIRV = lens_shader_file.get_spirv() - - if lens_shader_spirv.compile_error_compute != "": - push_error(lens_shader_spirv.compile_error_compute) - return false - - lens_shader = rd.shader_create_from_spirv(lens_shader_spirv) - if not lens_shader.is_valid(): - return false - - lens_pipeline = rd.compute_pipeline_create(lens_shader) - - var downsample_shader_spirv: RDShaderSPIRV = downsample_shader_file.get_spirv() - - if downsample_shader_spirv.compile_error_compute != "": - push_error(downsample_shader_spirv.compile_error_compute) - return false - - downsample_shader = rd.shader_create_from_spirv(downsample_shader_spirv) - if not downsample_shader.is_valid(): - return false - - downsample_pipeline = rd.compute_pipeline_create(downsample_shader) - - var blur_shader_spirv: RDShaderSPIRV = blur_shader_file.get_spirv() - - if blur_shader_spirv.compile_error_compute != "": - push_error(blur_shader_spirv.compile_error_compute) - return false - - blur_shader = rd.shader_create_from_spirv(blur_shader_spirv) - if not blur_shader.is_valid(): - return false - - blur_pipeline = rd.compute_pipeline_create(blur_shader) - - var overlay_shader_spirv: RDShaderSPIRV = overlay_shader_file.get_spirv() - - if overlay_shader_spirv.compile_error_compute != "": - push_error(overlay_shader_spirv.compile_error_compute) - return false - - overlay_shader = rd.shader_create_from_spirv(overlay_shader_spirv) - if not overlay_shader.is_valid(): - return false - - overlay_pipeline = rd.compute_pipeline_create(overlay_shader) - - var streak_shader_spirv: RDShaderSPIRV = streak_shader_file.get_spirv() - - if streak_shader_spirv.compile_error_compute != "": - push_error(streak_shader_spirv.compile_error_compute) - return false - - streak_shader = rd.shader_create_from_spirv(streak_shader_spirv) - if not streak_shader.is_valid(): - return false - - streak_pipeline = rd.compute_pipeline_create(streak_shader) - - -func compile_shader(shader_file, shader, pipeline): - var shader_spirv: RDShaderSPIRV = shader_file.get_spirv() - - if shader_spirv.compile_error_compute != "": - push_error(shader_spirv.compile_error_compute) - return false - - shader = rd.shader_create_from_spirv(shader_spirv) - if not shader.is_valid(): - return false - - pipeline = rd.compute_pipeline_create(shader) - return pipeline.is_valid() - - -func validate_pipelines(): - return lens_pipeline.is_valid() and downsample_pipeline.is_valid() \ - and blur_pipeline.is_valid() and streak_pipeline.is_valid() \ - and overlay_pipeline.is_valid() - - -func get_image_uniform(image : RID, binding : int = 0) -> RDUniform: - var uniform : RDUniform = RDUniform.new() - uniform.uniform_type = RenderingDevice.UNIFORM_TYPE_IMAGE - uniform.binding = binding - uniform.add_id(image) - - return uniform - - -func create_texture_sampler(): - var sampler_state = RDSamplerState.new() - sampler_state.repeat_u = RenderingDevice.SAMPLER_REPEAT_MODE_CLAMP_TO_EDGE - sampler_state.repeat_v = RenderingDevice.SAMPLER_REPEAT_MODE_CLAMP_TO_EDGE - sampler_state.repeat_w = RenderingDevice.SAMPLER_REPEAT_MODE_CLAMP_TO_EDGE - sampler_state.mag_filter = RenderingDevice.SAMPLER_FILTER_LINEAR - sampler_state.min_filter = RenderingDevice.SAMPLER_FILTER_LINEAR - sampler_state.mip_filter = RenderingDevice.SAMPLER_FILTER_LINEAR - - return rd.sampler_create(sampler_state) - - -func get_texture_uniform(texture: Texture, binding : int = 0) -> RDUniform: - var uniform : RDUniform = RDUniform.new() - uniform.uniform_type = RenderingDevice.UNIFORM_TYPE_SAMPLER_WITH_TEXTURE - uniform.binding = binding - uniform.add_id(clamp_linear_texture_sampler) - uniform.add_id(RenderingServer.texture_get_rd_texture(texture.get_rid(), true)) - - return uniform - - -# Called by the rendering thread every frame. -func _render_callback(p_effect_callback_type, p_render_data): - if rd and p_effect_callback_type == EFFECT_CALLBACK_TYPE_POST_TRANSPARENT \ - and validate_pipelines(): - # Get our render scene buffers object, this gives us access to our render buffers. - # Note that implementation differs per renderer hence the need for the cast. - var render_scene_buffers: RenderSceneBuffersRD = p_render_data.get_render_scene_buffers() - if render_scene_buffers: - # Get our render size, this is the 3D render resolution! - var size = render_scene_buffers.get_internal_size() - if size.x == 0 and size.y == 0: - return - - # Compute shader groups - var x_groups = (size.x - 1) / 8 + 1 - var y_groups = (size.y - 1) / 8 + 1 - var z_groups = 1 - - # Loop through views just in case we're doing stereo rendering. - # No extra cost if this is mono. - var view_count = render_scene_buffers.get_view_count() - for view in range(view_count): - # Get the RID for our color image, we will be reading from and writing to it. - var input_image = render_scene_buffers.get_color_layer(view) - - var usage_bits := RenderingDevice.TEXTURE_USAGE_SAMPLING_BIT \ - | RenderingDevice.TEXTURE_USAGE_STORAGE_BIT - - # Create textures (or get from cache if already created) - render_scene_buffers.create_texture( - context, - "Downsampled", - RenderingDevice.DATA_FORMAT_R16G16B16A16_SFLOAT, - usage_bits, - RenderingDevice.TEXTURE_SAMPLES_1, - size, 1, 1, true, false) - render_scene_buffers.create_texture( - context, - "BlurLeft", - RenderingDevice.DATA_FORMAT_R16G16B16A16_SFLOAT, - usage_bits, - RenderingDevice.TEXTURE_SAMPLES_1, - size, 1, 1, true, false) - render_scene_buffers.create_texture( - context, - "BlurRight", - RenderingDevice.DATA_FORMAT_R16G16B16A16_SFLOAT, - usage_bits, - RenderingDevice.TEXTURE_SAMPLES_1, - size, 1, 1, true, false) - render_scene_buffers.create_texture( - context, - "Ping", - RenderingDevice.DATA_FORMAT_R16G16B16A16_SFLOAT, - usage_bits, - RenderingDevice.TEXTURE_SAMPLES_1, - size, 1, 1, true, false) - render_scene_buffers.create_texture( - context, - "Pong", - RenderingDevice.DATA_FORMAT_R16G16B16A16_SFLOAT, - usage_bits, - RenderingDevice.TEXTURE_SAMPLES_1, - size, 1, 1, true, false) - - var color_uniform: RDUniform = RDUniform.new() - color_uniform.uniform_type = RenderingDevice.UNIFORM_TYPE_IMAGE - color_uniform.binding = 0 - color_uniform.add_id(input_image) - - var downsampled_uniform = get_image_uniform(render_scene_buffers.get_texture(context, "Downsampled")) - var ping_uniform = get_image_uniform(render_scene_buffers.get_texture(context, "Ping")) - var pong_uniform = get_image_uniform(render_scene_buffers.get_texture(context, "Pong")) - var blur_left_uniform = get_image_uniform(render_scene_buffers.get_texture(context, "BlurLeft")) - var blur_right_uniform = get_image_uniform(render_scene_buffers.get_texture(context, "BlurRight")) - - # Setup done - - # Step 1: Downsample - # Extracts only bright bits from texture, making the rest black - - var downsample_uniform_set_1 := UniformSetCacheRD.get_cache(lens_shader, 0, [ color_uniform ]) - var downsample_uniform_set_2 := UniformSetCacheRD.get_cache(lens_shader, 1, [ downsampled_uniform ]) - - var downsample_push_constant := PackedByteArray() - downsample_push_constant.resize(32) - downsample_push_constant.encode_float(0, size.x) - downsample_push_constant.encode_float(4, size.y) - downsample_push_constant.encode_float(8, downsample_scale) - downsample_push_constant.encode_float(12, downsample_bias) - downsample_push_constant.encode_float(16, downsample_desaturation) - - var compute_list := rd.compute_list_begin() - rd.compute_list_bind_compute_pipeline(compute_list, downsample_pipeline) - rd.compute_list_bind_uniform_set(compute_list, downsample_uniform_set_1, 0) - rd.compute_list_bind_uniform_set(compute_list, downsample_uniform_set_2, 1) - rd.compute_list_set_push_constant(compute_list, downsample_push_constant, downsample_push_constant.size()) - rd.compute_list_dispatch(compute_list, x_groups, y_groups, z_groups) - rd.compute_list_end() - - # Step 2: Light streak - # Blurs the texture into any number of directions and overlays the result onto the - # color buffer - - for angle_i in range(glare_streak_count): # hexagonal streaks - var angle_here = ((PI * 2.0) / glare_streak_count) * angle_i - var direction = Vector2(1.0, 0.0).rotated(angle_here) - - # We have a lot of code duplication here instead of looping because we need to - # ping-pong the "from" and "to" textures: - # downsampled -> ping -> pong -> ping -> pong -> color - # TODO: could probably be cleaned up with a lambda - - var streak_uniform_set - var streak_uniform_set2 - - # Iteration 1 - var streak_push_constant: PackedByteArray = PackedByteArray() - streak_push_constant.resize(32) - streak_push_constant.encode_float(0, size.x) - streak_push_constant.encode_float(4, size.y) - streak_push_constant.encode_float(8, direction.x * 1.0) # Direction - streak_push_constant.encode_float(12, direction.y * 1.0) - streak_push_constant.encode_s32(16, glare_samples) # Samples - streak_push_constant.encode_float(20, glare_attenuation) # Attenuation - streak_push_constant.encode_s32(24, 0) # Iteration - - streak_uniform_set = UniformSetCacheRD.get_cache(streak_shader, 0, [downsampled_uniform]) - streak_uniform_set2 = UniformSetCacheRD.get_cache(streak_shader, 1, [ping_uniform]) - - compute_list = rd.compute_list_begin() - rd.compute_list_bind_compute_pipeline(compute_list, streak_pipeline) - rd.compute_list_bind_uniform_set(compute_list, streak_uniform_set, 0) - rd.compute_list_bind_uniform_set(compute_list, streak_uniform_set2, 1) - rd.compute_list_set_push_constant(compute_list, streak_push_constant, streak_push_constant.size()) - rd.compute_list_dispatch(compute_list, x_groups, y_groups, z_groups) - rd.compute_list_end() - - # Iteration 2 - streak_push_constant = PackedByteArray() - streak_push_constant.resize(32) - streak_push_constant.encode_float(0, size.x) - streak_push_constant.encode_float(4, size.y) - streak_push_constant.encode_float(8, direction.x * 1.0) # Direction - streak_push_constant.encode_float(12, direction.y * 1.0) - streak_push_constant.encode_s32(16, glare_samples) # Samples - streak_push_constant.encode_float(20, glare_attenuation) # Attenuation - streak_push_constant.encode_s32(24, 1) # Iteration - - streak_uniform_set = UniformSetCacheRD.get_cache(streak_shader, 0, [ping_uniform]) - streak_uniform_set2 = UniformSetCacheRD.get_cache(streak_shader, 1, [pong_uniform]) - - compute_list = rd.compute_list_begin() - rd.compute_list_bind_compute_pipeline(compute_list, streak_pipeline) - rd.compute_list_bind_uniform_set(compute_list, streak_uniform_set, 0) - rd.compute_list_bind_uniform_set(compute_list, streak_uniform_set2, 1) - rd.compute_list_set_push_constant(compute_list, streak_push_constant, streak_push_constant.size()) - rd.compute_list_dispatch(compute_list, x_groups, y_groups, z_groups) - rd.compute_list_end() - - # Iteration 3 - streak_push_constant = PackedByteArray() - streak_push_constant.resize(32) - streak_push_constant.encode_float(0, size.x) - streak_push_constant.encode_float(4, size.y) - streak_push_constant.encode_float(8, direction.x * 1.0) # Direction - streak_push_constant.encode_float(12, direction.y * 1.0) - streak_push_constant.encode_s32(16, glare_samples) # Samples - streak_push_constant.encode_float(20, glare_attenuation) # Attenuation - streak_push_constant.encode_s32(24, 2) # Iteration - - streak_uniform_set = UniformSetCacheRD.get_cache(streak_shader, 0, [pong_uniform]) - streak_uniform_set2 = UniformSetCacheRD.get_cache(streak_shader, 1, [ping_uniform]) - - compute_list = rd.compute_list_begin() - rd.compute_list_bind_compute_pipeline(compute_list, streak_pipeline) - rd.compute_list_bind_uniform_set(compute_list, streak_uniform_set, 0) - rd.compute_list_bind_uniform_set(compute_list, streak_uniform_set2, 1) - rd.compute_list_set_push_constant(compute_list, streak_push_constant, streak_push_constant.size()) - rd.compute_list_dispatch(compute_list, x_groups, y_groups, z_groups) - rd.compute_list_end() - - # Iteration 4 - streak_push_constant = PackedByteArray() - streak_push_constant.resize(32) - streak_push_constant.encode_float(0, size.x) - streak_push_constant.encode_float(4, size.y) - streak_push_constant.encode_float(8, direction.x * 1.0) # Direction - streak_push_constant.encode_float(12, direction.y * 1.0) - streak_push_constant.encode_s32(16, glare_samples) # Samples - streak_push_constant.encode_float(20, glare_attenuation) # Attenuation - streak_push_constant.encode_s32(24, 3) # Iteration - - streak_uniform_set = UniformSetCacheRD.get_cache(streak_shader, 0, [ping_uniform]) - streak_uniform_set2 = UniformSetCacheRD.get_cache(streak_shader, 1, [pong_uniform]) - - compute_list = rd.compute_list_begin() - rd.compute_list_bind_compute_pipeline(compute_list, streak_pipeline) - rd.compute_list_bind_uniform_set(compute_list, streak_uniform_set, 0) - rd.compute_list_bind_uniform_set(compute_list, streak_uniform_set2, 1) - rd.compute_list_set_push_constant(compute_list, streak_push_constant, streak_push_constant.size()) - rd.compute_list_dispatch(compute_list, x_groups, y_groups, z_groups) - rd.compute_list_end() - - # Blur onto color - var overlay_uniform = get_texture_uniform(overlay_white_texture) - - var overlay_uniform_set_1 = UniformSetCacheRD.get_cache(overlay_shader, 0, [ pong_uniform ]) - var overlay_uniform_set_2 = UniformSetCacheRD.get_cache(overlay_shader, 1, [ color_uniform ]) - var overlay_uniform_set_3 = UniformSetCacheRD.get_cache(overlay_shader, 2, [ overlay_uniform ]) - - var overlay_push_constant: PackedFloat32Array = PackedFloat32Array() - overlay_push_constant.push_back(size.x) - overlay_push_constant.push_back(size.y) - overlay_push_constant.push_back(0.0) # Padding - overlay_push_constant.push_back(0.0) - - compute_list = rd.compute_list_begin() - rd.compute_list_bind_compute_pipeline(compute_list, overlay_pipeline) - rd.compute_list_bind_uniform_set(compute_list, overlay_uniform_set_1, 0) - rd.compute_list_bind_uniform_set(compute_list, overlay_uniform_set_2, 1) - rd.compute_list_bind_uniform_set(compute_list, overlay_uniform_set_3, 2) - rd.compute_list_set_push_constant(compute_list, overlay_push_constant.to_byte_array(), overlay_push_constant.size() * 4) - rd.compute_list_dispatch(compute_list, x_groups, y_groups, 1) - rd.compute_list_end() - - # Step 3: Lens Flare - # Create ghosts and halos from the downsampled image - # (Note: the light streak result is not used in the lens flare processing) - - var color_ramp_uniform = get_texture_uniform(flare_color_ramp) - - var lens_flare_uniform_set_1 = UniformSetCacheRD.get_cache(lens_shader, 0, [ downsampled_uniform ]) - var lens_flare_uniform_set_2 = UniformSetCacheRD.get_cache(lens_shader, 1, [pong_uniform]) - var lens_flare_uniform_set_3 = UniformSetCacheRD.get_cache(lens_shader, 2, [color_ramp_uniform]) - - var lens_flare_push_constant := PackedByteArray() - lens_flare_push_constant.resize(32) - lens_flare_push_constant.encode_float(0, size.x) - lens_flare_push_constant.encode_float(4, size.y) - lens_flare_push_constant.encode_s32(8, flare_ghost_count) - lens_flare_push_constant.encode_float(12, flare_ghost_dispersal) - lens_flare_push_constant.encode_float(16, flare_chromatic_abberation_scale) - lens_flare_push_constant.encode_float(20, flare_halo_width) - lens_flare_push_constant.encode_float(24, flare_halo_weight_power) - - # Run lens flare - compute_list = rd.compute_list_begin() - rd.compute_list_bind_compute_pipeline(compute_list, lens_pipeline) - rd.compute_list_bind_uniform_set(compute_list, lens_flare_uniform_set_1, 0) - rd.compute_list_bind_uniform_set(compute_list, lens_flare_uniform_set_2, 1) - rd.compute_list_bind_uniform_set(compute_list, lens_flare_uniform_set_3, 2) - rd.compute_list_set_push_constant(compute_list, lens_flare_push_constant, lens_flare_push_constant.size()) - rd.compute_list_dispatch(compute_list, x_groups, y_groups, z_groups) - rd.compute_list_end() - - # Step 4: Blur - # Horizontal, then vertical blur of the lens flare result to make the ghosts less - # sharp - - # Horizontal pass - var blur_push_constant: PackedFloat32Array = PackedFloat32Array() - blur_push_constant.push_back(size.x) - blur_push_constant.push_back(size.y) - blur_push_constant.push_back(gaussian_blur_size) - blur_push_constant.push_back(0.0) - - var blur_color_uniform_set = UniformSetCacheRD.get_cache(blur_shader, 0, [ pong_uniform ]) - var blur_texture_uniform_set = UniformSetCacheRD.get_cache(blur_shader, 1, [ ping_uniform ]) - - compute_list = rd.compute_list_begin() - rd.compute_list_bind_compute_pipeline(compute_list, blur_pipeline) - rd.compute_list_bind_uniform_set(compute_list, blur_color_uniform_set, 0) - rd.compute_list_bind_uniform_set(compute_list, blur_texture_uniform_set, 1) - rd.compute_list_set_push_constant(compute_list, blur_push_constant.to_byte_array(), blur_push_constant.size() * 4) - rd.compute_list_dispatch(compute_list, x_groups, y_groups, 1) - rd.compute_list_end() - - rd.draw_command_end_label() - - # Vertical pass (using the horizontal result) - blur_push_constant = PackedFloat32Array() - blur_push_constant.push_back(size.x) - blur_push_constant.push_back(size.y) - blur_push_constant.push_back(0.0) - blur_push_constant.push_back(gaussian_blur_size) - - blur_color_uniform_set = UniformSetCacheRD.get_cache(blur_shader, 0, [ ping_uniform ]) - blur_texture_uniform_set = UniformSetCacheRD.get_cache(blur_shader, 1, [ pong_uniform ]) - - compute_list = rd.compute_list_begin() - rd.compute_list_bind_compute_pipeline(compute_list, blur_pipeline) - rd.compute_list_bind_uniform_set(compute_list, blur_color_uniform_set, 0) - rd.compute_list_bind_uniform_set(compute_list, blur_texture_uniform_set, 1) - rd.compute_list_set_push_constant(compute_list, blur_push_constant.to_byte_array(), blur_push_constant.size() * 4) - rd.compute_list_dispatch(compute_list, x_groups, y_groups, 1) - rd.compute_list_end() - - # Step 5: Overlay - # Blend the blurred lens flares onto the color buffer (which already includes the - # light streaks created in step 2) - - var overlay_uniform_set_1 = UniformSetCacheRD.get_cache(overlay_shader, 0, [ pong_uniform ]) - var overlay_uniform_set_2 = UniformSetCacheRD.get_cache(overlay_shader, 1, [ color_uniform ]) - - var dirt_uniform = get_texture_uniform(overlay_dirt_texture) - var overlay_uniform_set_3 = UniformSetCacheRD.get_cache(overlay_shader, 2, [ dirt_uniform ]) - - var overlay_push_constant = PackedByteArray() - overlay_push_constant.resize(16) - overlay_push_constant.encode_float(0, size.x) - overlay_push_constant.encode_float(4, size.y) - overlay_push_constant.encode_float(8, 0.0) # Padding - overlay_push_constant.encode_float(12, overlay_dirt_texture_power) - - compute_list = rd.compute_list_begin() - rd.compute_list_bind_compute_pipeline(compute_list, overlay_pipeline) - rd.compute_list_bind_uniform_set(compute_list, overlay_uniform_set_1, 0) - rd.compute_list_bind_uniform_set(compute_list, overlay_uniform_set_2, 1) - rd.compute_list_bind_uniform_set(compute_list, overlay_uniform_set_3, 2) - rd.compute_list_set_push_constant(compute_list, overlay_push_constant, overlay_push_constant.size()) - rd.compute_list_dispatch(compute_list, x_groups, y_groups, 1) - rd.compute_list_end() diff --git a/addons/compositor-lens-flare/post_process_shader.gd.uid b/addons/compositor-lens-flare/post_process_shader.gd.uid deleted file mode 100644 index a148319..0000000 --- a/addons/compositor-lens-flare/post_process_shader.gd.uid +++ /dev/null @@ -1 +0,0 @@ -uid://0dlqdm6ci0xm diff --git a/addons/compositor-lens-flare/streak.glsl b/addons/compositor-lens-flare/streak.glsl deleted file mode 100644 index 356a4d5..0000000 --- a/addons/compositor-lens-flare/streak.glsl +++ /dev/null @@ -1,43 +0,0 @@ -#[compute] -#version 450 - -// Adapted from https://chrisoat.com/papers/Oat-ScenePostprocessing.pdf - -// Invocations in the (x, y, z) dimension -layout(local_size_x = 8, local_size_y = 8, local_size_z = 1) in; - -layout(rgba16f, set = 0, binding = 0) uniform image2D light_image; -layout(rgba16f, set = 1, binding = 0) uniform image2D out_image; - -// Our push constant -layout(push_constant, std430) uniform Params { - vec2 raster_size; - vec2 streak_direction; - int streak_samples; - float attenuation; - int iteration; -} params; - -// The code we want to execute in each invocation -void main() { - ivec2 uv = ivec2(gl_GlobalInvocationID.xy); - ivec2 size = ivec2(params.raster_size); - - if (uv.x >= size.x || uv.y >= size.y) { - return; - } - - vec4 new_color = vec4(0.0, 0.0, 0.0, 1.0); //imageLoad(light_image, uv); - - float b = pow(params.streak_samples, params.iteration); - - for (int sample_num = 0; sample_num < params.streak_samples; sample_num++) { - float weight = pow(params.attenuation, b * sample_num); - - ivec2 texture_coordinates_here = uv + ivec2(params.streak_direction * b * sample_num); - - new_color.rgb += clamp(weight, 0.0, 1.0) * imageLoad(light_image, texture_coordinates_here).rgb; - } - - imageStore(out_image, uv, new_color); -} diff --git a/addons/compositor-lens-flare/streak.glsl.import b/addons/compositor-lens-flare/streak.glsl.import deleted file mode 100644 index f3c2d8c..0000000 --- a/addons/compositor-lens-flare/streak.glsl.import +++ /dev/null @@ -1,14 +0,0 @@ -[remap] - -importer="glsl" -type="RDShaderFile" -uid="uid://c3wo2okvinjbs" -path="res://.godot/imported/streak.glsl-e84466ab4d8ec552c71d8362b0bf731b.res" - -[deps] - -source_file="res://addons/compositor-lens-flare/streak.glsl" -dest_files=["res://.godot/imported/streak.glsl-e84466ab4d8ec552c71d8362b0bf731b.res"] - -[params] - diff --git a/addons/rokojori_action_library b/addons/rokojori_action_library index eff4b5e..122d885 160000 --- a/addons/rokojori_action_library +++ b/addons/rokojori_action_library @@ -1 +1 @@ -Subproject commit eff4b5e146ebc6aceb90004a52cffd3121167661 +Subproject commit 122d885ebdf6fdfb9ed2209306a85fff43d88681