diff --git a/assets/props/book/book.gltf.import b/assets/props/book/book.gltf.import index 98ff828..ff36fe3 100644 --- a/assets/props/book/book.gltf.import +++ b/assets/props/book/book.gltf.import @@ -18,8 +18,8 @@ nodes/custom_script="" nodes/storage=0 nodes/use_legacy_names=true materials/location=1 -materials/storage=1 -materials/keep_on_reimport=true +materials/storage=0 +materials/keep_on_reimport=false meshes/compress=true meshes/ensure_tangents=true meshes/storage=1 diff --git a/assets/props/book/book.material b/assets/props/book/book.material deleted file mode 100644 index 84a633c..0000000 Binary files a/assets/props/book/book.material and /dev/null differ diff --git a/assets/props/book/materials/MAT_book.material b/assets/props/book/materials/MAT_book.material new file mode 100644 index 0000000..4018b97 Binary files /dev/null and b/assets/props/book/materials/MAT_book.material differ diff --git a/assets/props/book/materials/MA_book.tres b/assets/props/book/materials/MA_book.tres deleted file mode 100644 index f83f694..0000000 --- a/assets/props/book/materials/MA_book.tres +++ /dev/null @@ -1,80 +0,0 @@ -[gd_resource type="VisualShader" load_steps=8 format=2] - -[ext_resource path="res://assets/props/book/textures/tx_book_NM.tga" type="Texture" id=1] -[ext_resource path="res://assets/props/book/textures/tx_book_ORM.tga" type="Texture" id=2] -[ext_resource path="res://assets/props/book/textures/tx_book_BC.tga" type="Texture" id=3] - -[sub_resource type="VisualShaderNodeTexture" id=1] -texture = ExtResource( 3 ) -texture_type = 1 - -[sub_resource type="VisualShaderNodeTexture" id=2] -texture = ExtResource( 1 ) -texture_type = 2 - -[sub_resource type="VisualShaderNodeTexture" id=3] -texture = ExtResource( 2 ) - -[sub_resource type="VisualShaderNodeVectorDecompose" id=4] - -[resource] -code = "shader_type spatial; -render_mode specular_schlick_ggx; - -uniform sampler2D tex_frg_2 : hint_albedo; -uniform sampler2D tex_frg_4; -uniform sampler2D tex_frg_3 : hint_normal; - - - -void vertex() { -// Output:0 - -} - -void fragment() { -// Texture:2 - vec4 tex_frg_2_read = texture(tex_frg_2, UV.xy); - vec3 n_out2p0 = tex_frg_2_read.rgb; - float n_out2p1 = tex_frg_2_read.a; - -// Texture:4 - vec4 tex_frg_4_read = texture(tex_frg_4, UV.xy); - vec3 n_out4p0 = tex_frg_4_read.rgb; - float n_out4p1 = tex_frg_4_read.a; - -// VectorDecompose:5 - float n_out5p0 = n_out4p0.x; - float n_out5p1 = n_out4p0.y; - float n_out5p2 = n_out4p0.z; - -// Texture:3 - vec4 tex_frg_3_read = texture(tex_frg_3, UV.xy); - vec3 n_out3p0 = tex_frg_3_read.rgb; - float n_out3p1 = tex_frg_3_read.a; - -// Output:0 - ALBEDO = n_out2p0; - METALLIC = n_out5p2; - ROUGHNESS = n_out5p1; - AO = n_out5p0; - NORMAL = n_out3p0; - -} - -void light() { -// Output:0 - -} -" -graph_offset = Vector2( -180.394, -217.899 ) -nodes/fragment/0/position = Vector2( 620, 200 ) -nodes/fragment/2/node = SubResource( 1 ) -nodes/fragment/2/position = Vector2( -240, -220 ) -nodes/fragment/3/node = SubResource( 2 ) -nodes/fragment/3/position = Vector2( -172.448, 762.213 ) -nodes/fragment/4/node = SubResource( 3 ) -nodes/fragment/4/position = Vector2( -440, 160 ) -nodes/fragment/5/node = SubResource( 4 ) -nodes/fragment/5/position = Vector2( 0, 300 ) -nodes/fragment/connections = PoolIntArray( 2, 0, 0, 0, 3, 0, 0, 7, 4, 0, 5, 0, 5, 1, 0, 3, 5, 2, 0, 2, 5, 0, 0, 6 ) diff --git a/assets/props/book/sm_book.mesh b/assets/props/book/sm_book.mesh index 3acaedb..d6eb323 100644 Binary files a/assets/props/book/sm_book.mesh and b/assets/props/book/sm_book.mesh differ diff --git a/assets/props/book/textures/tx_book_MK.tga b/assets/props/book/textures/tx_book_MK.tga new file mode 100644 index 0000000..887661a Binary files /dev/null and b/assets/props/book/textures/tx_book_MK.tga differ diff --git a/assets/props/book/textures/tx_book_MK.tga.import b/assets/props/book/textures/tx_book_MK.tga.import new file mode 100644 index 0000000..2c3f6a8 --- /dev/null +++ b/assets/props/book/textures/tx_book_MK.tga.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="StreamTexture" +path.s3tc="res://.import/tx_book_MK.tga-8a7c0fa94467fd29a69c4f5b665eec9c.s3tc.stex" +path.etc2="res://.import/tx_book_MK.tga-8a7c0fa94467fd29a69c4f5b665eec9c.etc2.stex" +path.etc="res://.import/tx_book_MK.tga-8a7c0fa94467fd29a69c4f5b665eec9c.etc.stex" +metadata={ +"imported_formats": [ "s3tc", "etc2", "etc" ], +"vram_texture": true +} + +[deps] + +source_file="res://assets/props/book/textures/tx_book_MK.tga" +dest_files=[ "res://.import/tx_book_MK.tga-8a7c0fa94467fd29a69c4f5b665eec9c.s3tc.stex", "res://.import/tx_book_MK.tga-8a7c0fa94467fd29a69c4f5b665eec9c.etc2.stex", "res://.import/tx_book_MK.tga-8a7c0fa94467fd29a69c4f5b665eec9c.etc.stex" ] + +[params] + +compress/mode=2 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=true +flags/filter=true +flags/mipmaps=true +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=false +svg/scale=1.0