diff --git a/.codely/clipboard/clipboard-1791554581397.png b/.codely/clipboard/clipboard-1791554581397.png new file mode 100644 index 0000000..ed2582a Binary files /dev/null and b/.codely/clipboard/clipboard-1791554581397.png differ diff --git a/Assets/Model/武器/大剑/大剑材质.mat b/Assets/Model/武器/大剑/大剑材质.mat index 0376cb2..9e0375c 100644 --- a/Assets/Model/武器/大剑/大剑材质.mat +++ b/Assets/Model/武器/大剑/大剑材质.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: ac32132eb6dbcf64aa56d838598e6174, type: 3} + m_Texture: {fileID: 2800000, guid: 64f114f86ee2d1046bbd55b35516dfaa, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/武器/弓/箭矢/texture_pbr_20250901.png b/Assets/Model/武器/弓/箭矢/texture_pbr_20250901.png new file mode 100644 index 0000000..db2a54d Binary files /dev/null and b/Assets/Model/武器/弓/箭矢/texture_pbr_20250901.png differ diff --git a/Assets/Model/武器/弓/箭矢/texture_pbr_20250901.png.meta b/Assets/Model/武器/弓/箭矢/texture_pbr_20250901.png.meta new file mode 100644 index 0000000..d1277fa --- /dev/null +++ b/Assets/Model/武器/弓/箭矢/texture_pbr_20250901.png.meta @@ -0,0 +1,177 @@ +fileFormatVersion: 2 +guid: CH1J4Sz8W3sUQFkTFvFQLsEoB54XOy655RaX1ChWsBa7RhWAqGe5NRE= +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 14 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + webStreaming: 0 + priorityLevel: 0 + uploadedMode: 2 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 128 + maxPlaceholderSize: 32 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + maxPlaceholderSize: 32 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + maxPlaceholderSize: 32 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + maxPlaceholderSize: 32 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WeixinMiniGame + maxTextureSize: 2048 + maxPlaceholderSize: 32 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: PlayableAds + maxTextureSize: 2048 + maxPlaceholderSize: 32 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + doOverrideTextureManagerOperations: 0 + platformOperationGroupSettings: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Model/武器/弓/箭矢/箭矢材质.mat b/Assets/Model/武器/弓/箭矢/箭矢材质.mat index 7a0c999..6491486 100644 --- a/Assets/Model/武器/弓/箭矢/箭矢材质.mat +++ b/Assets/Model/武器/弓/箭矢/箭矢材质.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: f15ba274e1a31b54797b7f5d2d8544ee, type: 3} + m_Texture: {fileID: 2800000, guid: 77fd6a8070b10a44a88e814aeeac57aa, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/武器/盾牌/盾牌.mat b/Assets/Model/武器/盾牌/盾牌.mat index c309a4a..2d50f96 100644 --- a/Assets/Model/武器/盾牌/盾牌.mat +++ b/Assets/Model/武器/盾牌/盾牌.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: ed9853aeedc2d4154824299566df5d11, type: 3} + m_Texture: {fileID: 2800000, guid: 9542e6e981b78b7439108e2e74780417, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/第一章/人类士兵新/人类士兵材质.mat b/Assets/Model/第一章/人类士兵新/人类士兵材质.mat index accf5a9..31b3203 100644 --- a/Assets/Model/第一章/人类士兵新/人类士兵材质.mat +++ b/Assets/Model/第一章/人类士兵新/人类士兵材质.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: b0f43ea95eaf44ea2a98bbf574f84fe2, type: 3} + m_Texture: {fileID: 2800000, guid: 4e1793eb242e1e84b812a6af721ed8b8, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/第一章/小怪/城堡弓童/城堡弓童.mat b/Assets/Model/第一章/小怪/城堡弓童/城堡弓童.mat index 4c3ec1b..0bbe1d0 100644 --- a/Assets/Model/第一章/小怪/城堡弓童/城堡弓童.mat +++ b/Assets/Model/第一章/小怪/城堡弓童/城堡弓童.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: 46f795ff4dfd44e91afa74e0cf6cf8eb, type: 3} + m_Texture: {fileID: 2800000, guid: ecfda56f32c16fc49abb74e0bb3ebd37, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/第一章/小怪/城堡蓝卫/城堡蓝卫Q.mat b/Assets/Model/第一章/小怪/城堡蓝卫/城堡蓝卫Q.mat index 4312d56..60c1fc9 100644 --- a/Assets/Model/第一章/小怪/城堡蓝卫/城堡蓝卫Q.mat +++ b/Assets/Model/第一章/小怪/城堡蓝卫/城堡蓝卫Q.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: 75366976fb68c4f12ab4011e2954ba40, type: 3} + m_Texture: {fileID: 2800000, guid: 56d3b3c2c253d104eb9237908c2c903f, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/第一章/小怪/城堡金盾卫/城堡金盾卫.mat b/Assets/Model/第一章/小怪/城堡金盾卫/城堡金盾卫.mat index 9333b0f..478e7b2 100644 --- a/Assets/Model/第一章/小怪/城堡金盾卫/城堡金盾卫.mat +++ b/Assets/Model/第一章/小怪/城堡金盾卫/城堡金盾卫.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: 315de0b76537041fd80ed5f59c09734f, type: 3} + m_Texture: {fileID: 2800000, guid: defdc0032f7785c408f966a8f989af4c, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/第一章/小怪/紫晶灵射/紫晶灵射.mat b/Assets/Model/第一章/小怪/紫晶灵射/紫晶灵射.mat index 4790326..a983d4d 100644 --- a/Assets/Model/第一章/小怪/紫晶灵射/紫晶灵射.mat +++ b/Assets/Model/第一章/小怪/紫晶灵射/紫晶灵射.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: a47cb966d473a4cb8b57d30ff00fb43b, type: 3} + m_Texture: {fileID: 2800000, guid: cbb16ef704272d346abc02c893e54c54, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/第一章/小怪/蓝角蛮卒/蓝角蛮卒.mat b/Assets/Model/第一章/小怪/蓝角蛮卒/蓝角蛮卒.mat index f51e45e..1bd2daa 100644 --- a/Assets/Model/第一章/小怪/蓝角蛮卒/蓝角蛮卒.mat +++ b/Assets/Model/第一章/小怪/蓝角蛮卒/蓝角蛮卒.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: aa879bd3b74614ff8a056d0bb12dd79b, type: 3} + m_Texture: {fileID: 2800000, guid: 5f90918dfec65c945932f8dc9fc0fcf2, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/第一章/弓箭手新/弓箭手.mat b/Assets/Model/第一章/弓箭手新/弓箭手.mat index 484b582..1787406 100644 --- a/Assets/Model/第一章/弓箭手新/弓箭手.mat +++ b/Assets/Model/第一章/弓箭手新/弓箭手.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: b54cf8fbe8803884ebed21b512d77c84, type: 3} + m_Texture: {fileID: 2800000, guid: dc696e0be9ab06a49be2fb38419b3e8b, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/第一章/法师/法师.mat b/Assets/Model/第一章/法师/法师.mat index ef99672..46ceecb 100644 --- a/Assets/Model/第一章/法师/法师.mat +++ b/Assets/Model/第一章/法师/法师.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: f787b0236d755c94eb45112d8454dc92, type: 3} + m_Texture: {fileID: 2800000, guid: 3802f8664073add448bcbe6a4d41ded1, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/第一章/盾卫/盾卫.mat b/Assets/Model/第一章/盾卫/盾卫.mat index 23ba589..ae53b35 100644 --- a/Assets/Model/第一章/盾卫/盾卫.mat +++ b/Assets/Model/第一章/盾卫/盾卫.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: 4c2aad7f47d9b07409f2941aa2c6943c, type: 3} + m_Texture: {fileID: 2800000, guid: f9fdd6a4cbec41b4293b7c104e1b63dc, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/第一章/精锐士兵/精锐士兵.mat b/Assets/Model/第一章/精锐士兵/精锐士兵.mat index 58b0306..2cffac4 100644 --- a/Assets/Model/第一章/精锐士兵/精锐士兵.mat +++ b/Assets/Model/第一章/精锐士兵/精锐士兵.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: 9d2c762a67b1e2349bfa53c540a6c8e1, type: 3} + m_Texture: {fileID: 2800000, guid: 16e54e3d91695ff43ad3955359bf6922, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/第二章/弓箭猎人 1/New Material.mat b/Assets/Model/第二章/弓箭猎人 1/New Material.mat index e3576c8..7aabb8c 100644 --- a/Assets/Model/第二章/弓箭猎人 1/New Material.mat +++ b/Assets/Model/第二章/弓箭猎人 1/New Material.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: b370b541f2712d7449986f51a0d3c35b, type: 3} + m_Texture: {fileID: 2800000, guid: 6e84d3b0ea4eb2142b882c90efe32f04, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/第二章/弓箭猎人/弓箭猎人材质.mat b/Assets/Model/第二章/弓箭猎人/弓箭猎人材质.mat index 2e1c9a4..dccc869 100644 --- a/Assets/Model/第二章/弓箭猎人/弓箭猎人材质.mat +++ b/Assets/Model/第二章/弓箭猎人/弓箭猎人材质.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: 8005bd58d9bb36d41bae9fb162fb4b27, type: 3} + m_Texture: {fileID: 2800000, guid: 8ab665031fd05534593a60a27ce97ab8, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/第二章/狼人/狼人.mat b/Assets/Model/第二章/狼人/狼人.mat index 4f21ce9..a2e39fa 100644 --- a/Assets/Model/第二章/狼人/狼人.mat +++ b/Assets/Model/第二章/狼人/狼人.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: de475f70575c12b4ba2328e3fc7efbf6, type: 3} + m_Texture: {fileID: 2800000, guid: 2c5f28aa8d708284d9330b1b68064eee, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/第二章/石头人/texture_pbr_20250901.png b/Assets/Model/第二章/石头人/texture_pbr_20250901.png new file mode 100644 index 0000000..47e3205 Binary files /dev/null and b/Assets/Model/第二章/石头人/texture_pbr_20250901.png differ diff --git a/Assets/Model/第二章/石头人/texture_pbr_20250901.png.meta b/Assets/Model/第二章/石头人/texture_pbr_20250901.png.meta new file mode 100644 index 0000000..4de7c07 --- /dev/null +++ b/Assets/Model/第二章/石头人/texture_pbr_20250901.png.meta @@ -0,0 +1,177 @@ +fileFormatVersion: 2 +guid: WS8Y4S77WyhjFGq4lVAp7Ggai/f7m88KBwSlozxIwdiwv0LgD0o0IvA= +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 14 + mipmaps: + mipMapMode: 0 + enableMipMap: 1 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + webStreaming: 0 + priorityLevel: 0 + uploadedMode: 2 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 0 + wrapV: 0 + wrapW: 0 + nPOTScale: 1 + lightmap: 0 + compressionQuality: 50 + spriteMode: 0 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 0 + spriteTessellationDetail: -1 + textureType: 0 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 512 + maxPlaceholderSize: 32 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + maxPlaceholderSize: 32 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Server + maxTextureSize: 2048 + maxPlaceholderSize: 32 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WebGL + maxTextureSize: 2048 + maxPlaceholderSize: 32 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: WeixinMiniGame + maxTextureSize: 2048 + maxPlaceholderSize: 32 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: PlayableAds + maxTextureSize: 2048 + maxPlaceholderSize: 32 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + doOverrideTextureManagerOperations: 0 + platformOperationGroupSettings: + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Model/第二章/石头人/石头人.mat b/Assets/Model/第二章/石头人/石头人.mat index 6c1f239..9a4eb6b 100644 --- a/Assets/Model/第二章/石头人/石头人.mat +++ b/Assets/Model/第二章/石头人/石头人.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: 3759921002192384ca3e88cd18e3ad12, type: 3} + m_Texture: {fileID: 2800000, guid: fe7d4f8c86aa81847b6ab64cbaf73fb9, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/Assets/Model/第二章/祭祀/荒野祭祀.mat b/Assets/Model/第二章/祭祀/荒野祭祀.mat index 57f5710..7676444 100644 --- a/Assets/Model/第二章/祭祀/荒野祭祀.mat +++ b/Assets/Model/第二章/祭祀/荒野祭祀.mat @@ -44,7 +44,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: 385d995ef573448afb38e85f20794b85, type: 3} + m_Texture: {fileID: 2800000, guid: 0f01ab9f608dd9d46a37b2196ef77125, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: diff --git a/compress_textures.py b/compress_textures.py new file mode 100644 index 0000000..2f55adb --- /dev/null +++ b/compress_textures.py @@ -0,0 +1,49 @@ +#!/usr/bin/env python3 +""" +批量压缩 Assets/Model 下的大尺寸 PNG 贴图 +将 4096x4096 缩小到 2048x2048,并优化文件大小 +""" +import os +from PIL import Image +from pathlib import Path + +def compress_texture(filepath, max_size=2048): + """压缩单个贴图文件""" + try: + img = Image.open(filepath) + original_size = os.path.getsize(filepath) + + # 如果图片大于目标尺寸,缩放 + if img.width > max_size or img.height > max_size: + img.thumbnail((max_size, max_size), Image.Resampling.LANCZOS) + print(f" 缩放: {img.width}x{img.height}") + + # 优化并保存 + img.save(filepath, 'PNG', optimize=True, compress_level=9) + new_size = os.path.getsize(filepath) + + saved_mb = (original_size - new_size) / (1024 * 1024) + print(f" 节省: {saved_mb:.2f} MB ({original_size/(1024*1024):.2f} -> {new_size/(1024*1024):.2f} MB)") + return saved_mb + except Exception as e: + print(f" 错误: {e}") + return 0 + +def main(): + assets_path = Path("Assets/Model") + total_saved = 0 + processed = 0 + + # 查找所有超过 10MB 的 PNG 文件 + for png_file in assets_path.rglob("*.png"): + file_size = png_file.stat().st_size + if file_size > 10 * 1024 * 1024: # 10 MB + print(f"\n处理: {png_file.name}") + saved = compress_texture(str(png_file)) + total_saved += saved + processed += 1 + + print(f"\n完成! 处理了 {processed} 个文件,共节省 {total_saved:.2f} MB") + +if __name__ == "__main__": + main() diff --git a/mono_crash.mem.18337.1.blob b/mono_crash.mem.18337.1.blob new file mode 100644 index 0000000..b4452d0 Binary files /dev/null and b/mono_crash.mem.18337.1.blob differ