From eb774901473ff7750b73ec7e08290c1dcb7eb727 Mon Sep 17 00:00:00 2001 From: rudavalkyra Date: Tue, 9 Dec 2025 18:21:10 +0100 Subject: [PATCH] Textura na bloba --- 3D blobici/Assets/Object/Textures/Red.mat | 84 +++++++++++++++++++ .../Assets/Object/Textures/Red.mat.meta | 8 ++ 3D blobici/Assets/Prefabs/enemy/Blob.prefab | 4 + 3 files changed, 96 insertions(+) create mode 100644 3D blobici/Assets/Object/Textures/Red.mat create mode 100644 3D blobici/Assets/Object/Textures/Red.mat.meta diff --git a/3D blobici/Assets/Object/Textures/Red.mat b/3D blobici/Assets/Object/Textures/Red.mat new file mode 100644 index 0000000..4228ad3 --- /dev/null +++ b/3D blobici/Assets/Object/Textures/Red.mat @@ -0,0 +1,84 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Red + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_LockedProperties: + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _BumpMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailAlbedoMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailMask: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _DetailNormalMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _EmissionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MainTex: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _MetallicGlossMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _OcclusionMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _ParallaxMap: + m_Texture: {fileID: 0} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Ints: [] + m_Floats: + - _BumpScale: 1 + - _Cutoff: 0.5 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _GlossMapScale: 1 + - _Glossiness: 0.5 + - _GlossyReflections: 1 + - _Metallic: 0 + - _Mode: 0 + - _OcclusionStrength: 1 + - _Parallax: 0.02 + - _SmoothnessTextureChannel: 0 + - _SpecularHighlights: 1 + - _SrcBlend: 1 + - _UVSec: 0 + - _ZWrite: 1 + m_Colors: + - _Color: {r: 0.7830189, g: 0.12040678, b: 0, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} + m_BuildTextureStacks: [] + m_AllowLocking: 1 diff --git a/3D blobici/Assets/Object/Textures/Red.mat.meta b/3D blobici/Assets/Object/Textures/Red.mat.meta new file mode 100644 index 0000000..aca7f56 --- /dev/null +++ b/3D blobici/Assets/Object/Textures/Red.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 226cc72031291924b9f16a985d935fb4 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/3D blobici/Assets/Prefabs/enemy/Blob.prefab b/3D blobici/Assets/Prefabs/enemy/Blob.prefab index 20559ba..b317ec7 100644 --- a/3D blobici/Assets/Prefabs/enemy/Blob.prefab +++ b/3D blobici/Assets/Prefabs/enemy/Blob.prefab @@ -216,6 +216,10 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} + - target: {fileID: -7635826562936255635, guid: 8dcf7567c8e945d429582464c51fe9eb, type: 3} + propertyPath: 'm_Materials.Array.data[0]' + value: + objectReference: {fileID: 2100000, guid: 226cc72031291924b9f16a985d935fb4, type: 2} - target: {fileID: 919132149155446097, guid: 8dcf7567c8e945d429582464c51fe9eb, type: 3} propertyPath: m_Name value: Blob_03