diff --git a/maps/textures/crystal4.ptex b/maps/textures/crystal4.ptex new file mode 100644 index 0000000..fffe6bf --- /dev/null +++ b/maps/textures/crystal4.ptex @@ -0,0 +1,167 @@ +{ + "connections": [ + { + "from": "uniform_greyscale", + "from_port": 0, + "to": "Material", + "to_port": 1 + }, + { + "from": "uniform_greyscale_2", + "from_port": 0, + "to": "Material", + "to_port": 2 + }, + { + "from": "perlin_color", + "from_port": 0, + "to": "Material", + "to_port": 0 + }, + { + "from": "perlin_color_2", + "from_port": 0, + "to": "Material", + "to_port": 4 + }, + { + "from": "perlin_color_3", + "from_port": 0, + "to": "brightness_contrast", + "to_port": 0 + }, + { + "from": "brightness_contrast", + "from_port": 0, + "to": "Material", + "to_port": 3 + } + ], + "label": "Graph", + "longdesc": "", + "name": "@Node@491", + "node_position": { + "x": 0.0, + "y": 0.0 + }, + "nodes": [ + { + "export_paths": { + + }, + "name": "Material", + "node_position": { + "x": 307.0, + "y": -49.0 + }, + "parameters": { + "albedo_color": { + "a": 1.0, + "b": 1.0, + "g": 1.0, + "r": 1.0, + "type": "Color" + }, + "ao": 1.0, + "depth_scale": 0.5, + "emission_energy": 1.0, + "flags_transparent": true, + "metallic": 1.0, + "normal": 1.0, + "roughness": 1.0, + "size": 11, + "sss": 1.0 + }, + "seed_int": 0, + "type": "material" + }, + { + "name": "uniform_greyscale", + "node_position": { + "x": -319.0, + "y": 22.5 + }, + "parameters": { + "color": 1.0 + }, + "seed_int": 0, + "type": "uniform_greyscale" + }, + { + "name": "uniform_greyscale_2", + "node_position": { + "x": -319.0, + "y": 100.5 + }, + "parameters": { + "color": 0.0 + }, + "seed_int": 0, + "type": "uniform_greyscale" + }, + { + "name": "perlin_color", + "node_position": { + "x": -314.0, + "y": -142.5 + }, + "parameters": { + "iterations": 3.0, + "persistence": 0.5, + "scale_x": 12.0, + "scale_y": 12.0 + }, + "seed_int": 1327256576, + "type": "perlin_color" + }, + { + "name": "perlin_color_2", + "node_position": { + "x": -316.5, + "y": 185.0 + }, + "parameters": { + "iterations": 3.0, + "persistence": 0.7, + "scale_x": 12.0, + "scale_y": 12.0 + }, + "seed_int": 1024884160, + "type": "perlin_color" + }, + { + "name": "perlin_color_3", + "node_position": { + "x": -316.5, + "y": 356.0 + }, + "parameters": { + "iterations": 3.0, + "persistence": 0.5, + "scale_x": 12.0, + "scale_y": 12.0 + }, + "seed_int": 451409824, + "type": "perlin_color" + }, + { + "name": "brightness_contrast", + "node_position": { + "x": -95.0, + "y": 357.5 + }, + "parameters": { + "brightness": -0.5, + "contrast": 1.0 + }, + "seed_int": 0, + "type": "brightness_contrast" + } + ], + "parameters": { + + }, + "seed_int": 0, + "shortdesc": "", + "type": "graph" +} \ No newline at end of file diff --git a/maps/textures/crystal4.tres b/maps/textures/crystal4.tres new file mode 100644 index 0000000..bdcfbaa --- /dev/null +++ b/maps/textures/crystal4.tres @@ -0,0 +1,19 @@ +[gd_resource type="StandardMaterial3D" load_steps=5 format=3 uid="uid://ge8qxv7h7wl3"] + +[ext_resource type="Texture2D" uid="uid://ci2ok5esoexgl" path="res://maps/textures/crystal4_albedo.png" id="1"] +[ext_resource type="Texture2D" uid="uid://40mdisuk6ri0" path="res://maps/textures/crystal4_orm.png" id="2"] +[ext_resource type="Texture2D" uid="uid://b4w85fv4a8upj" path="res://maps/textures/crystal4_normal.png" id="3"] +[ext_resource type="Texture2D" uid="uid://dg145ejhfm5d6" path="res://maps/textures/crystal4_emission.png" id="5"] + +[resource] +albedo_texture = ExtResource("1") +metallic = 1.0 +metallic_texture = ExtResource("2") +metallic_texture_channel = 2 +roughness_texture = ExtResource("2") +roughness_texture_channel = 1 +emission_enabled = true +emission_texture = ExtResource("5") +normal_enabled = true +normal_texture = ExtResource("3") +uv1_triplanar = true diff --git a/maps/textures/crystal4_albedo.png b/maps/textures/crystal4_albedo.png new file mode 100644 index 0000000..7a92667 Binary files /dev/null and b/maps/textures/crystal4_albedo.png differ diff --git a/maps/textures/crystal4_albedo.png.import b/maps/textures/crystal4_albedo.png.import new file mode 100644 index 0000000..05991fe --- /dev/null +++ b/maps/textures/crystal4_albedo.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ci2ok5esoexgl" +path.s3tc="res://.godot/imported/crystal4_albedo.png-dfe3ac083dd187ca81d51468c10f0184.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://maps/textures/crystal4_albedo.png" +dest_files=["res://.godot/imported/crystal4_albedo.png-dfe3ac083dd187ca81d51468c10f0184.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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/maps/textures/crystal4_emission.png b/maps/textures/crystal4_emission.png new file mode 100644 index 0000000..bfb39a8 Binary files /dev/null and b/maps/textures/crystal4_emission.png differ diff --git a/maps/textures/crystal4_emission.png.import b/maps/textures/crystal4_emission.png.import new file mode 100644 index 0000000..3f2e826 --- /dev/null +++ b/maps/textures/crystal4_emission.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dg145ejhfm5d6" +path.s3tc="res://.godot/imported/crystal4_emission.png-5942e0b452b46bc2f1d87f424637ea94.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://maps/textures/crystal4_emission.png" +dest_files=["res://.godot/imported/crystal4_emission.png-5942e0b452b46bc2f1d87f424637ea94.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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/maps/textures/crystal4_normal.png b/maps/textures/crystal4_normal.png new file mode 100644 index 0000000..0ebe7c2 Binary files /dev/null and b/maps/textures/crystal4_normal.png differ diff --git a/maps/textures/crystal4_normal.png.import b/maps/textures/crystal4_normal.png.import new file mode 100644 index 0000000..ce258a7 --- /dev/null +++ b/maps/textures/crystal4_normal.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b4w85fv4a8upj" +path.s3tc="res://.godot/imported/crystal4_normal.png-c05ee5cded128b9d84497671ee1284c4.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://maps/textures/crystal4_normal.png" +dest_files=["res://.godot/imported/crystal4_normal.png-c05ee5cded128b9d84497671ee1284c4.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +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://maps/textures/crystal4_normal.png" +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/maps/textures/crystal4_orm.png b/maps/textures/crystal4_orm.png new file mode 100644 index 0000000..63081be Binary files /dev/null and b/maps/textures/crystal4_orm.png differ diff --git a/maps/textures/crystal4_orm.png.import b/maps/textures/crystal4_orm.png.import new file mode 100644 index 0000000..1dbf2ad --- /dev/null +++ b/maps/textures/crystal4_orm.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://40mdisuk6ri0" +path.s3tc="res://.godot/imported/crystal4_orm.png-46cc9a99265c82d231cc4da741dfe13c.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://maps/textures/crystal4_orm.png" +dest_files=["res://.godot/imported/crystal4_orm.png-46cc9a99265c82d231cc4da741dfe13c.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +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/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/test/blender_test_map.tscn b/test/blender_test_map.tscn index d9371bc..cc10533 100644 --- a/test/blender_test_map.tscn +++ b/test/blender_test_map.tscn @@ -4,7 +4,7 @@ [ext_resource type="Texture2D" uid="uid://b334g66yuhwtv" path="res://vfx/textures/skybox1.png" id="2_p5rwy"] [ext_resource type="PackedScene" uid="uid://cp3qagrsuarl5" path="res://test/blender_test_map.blend" id="2_vhybo"] [ext_resource type="PackedScene" uid="uid://gis0gxap8i8t" path="res://test/test_stick.tscn" id="3_sj3fr"] -[ext_resource type="Material" uid="uid://crxt16d81btre" path="res://maps/textures/crystal3.tres" id="4_p5rwy"] +[ext_resource type="Material" uid="uid://ge8qxv7h7wl3" path="res://maps/textures/crystal4.tres" id="4_p5rwy"] [ext_resource type="PackedScene" uid="uid://b7mqd4ps8e3uj" path="res://props/springboard.tscn" id="8_p5rwy"] [ext_resource type="Script" uid="uid://16os114krms3" path="res://characters/controllers/player_character_controller.gd" id="9_j70wf"] [ext_resource type="Script" uid="uid://dotkfe7cs5010" path="res://test/pick_up_item.gd" id="10_ld4ib"]