From 2d5ce21ea75ad34ce97ed7650dc08291615e3527 Mon Sep 17 00:00:00 2001 From: Gregory Campbell Date: Sun, 17 Nov 2019 20:30:33 -0500 Subject: [PATCH] Created, Added and Applied a basic texture that helps show which way the player chracter is facing --- Assets/Materials/Direction Map.mat | 77 +++++++++++++++ Assets/Materials/Direction Map.mat.meta | 8 ++ Assets/Scenes/Test Scene.unity | 4 +- Assets/Textures.meta | 8 ++ Assets/Textures/Basic Direction Texture.png | Bin 0 -> 333 bytes .../Textures/Basic Direction Texture.png.meta | 91 ++++++++++++++++++ 6 files changed, 186 insertions(+), 2 deletions(-) create mode 100644 Assets/Materials/Direction Map.mat create mode 100644 Assets/Materials/Direction Map.mat.meta create mode 100644 Assets/Textures.meta create mode 100644 Assets/Textures/Basic Direction Texture.png create mode 100644 Assets/Textures/Basic Direction Texture.png.meta diff --git a/Assets/Materials/Direction Map.mat b/Assets/Materials/Direction Map.mat new file mode 100644 index 0000000..b2858e2 --- /dev/null +++ b/Assets/Materials/Direction Map.mat @@ -0,0 +1,77 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Direction Map + m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + 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: 2800000, guid: 4e93e73d15a7fa148abf0c451daaa698, type: 3} + 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_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: 1, g: 1, b: 1, a: 1} + - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} diff --git a/Assets/Materials/Direction Map.mat.meta b/Assets/Materials/Direction Map.mat.meta new file mode 100644 index 0000000..81dda85 --- /dev/null +++ b/Assets/Materials/Direction Map.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 727f61c75f8320d4ab79aaf01ab76181 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Test Scene.unity b/Assets/Scenes/Test Scene.unity index f97dbff..4b45e62 100644 --- a/Assets/Scenes/Test Scene.unity +++ b/Assets/Scenes/Test Scene.unity @@ -183,7 +183,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 2100000, guid: 2e8066249a525704999c373210d308b9, type: 2} + - {fileID: 2100000, guid: 727f61c75f8320d4ab79aaf01ab76181, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -479,7 +479,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 2100000, guid: 727f61c75f8320d4ab79aaf01ab76181, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 diff --git a/Assets/Textures.meta b/Assets/Textures.meta new file mode 100644 index 0000000..d88ffb6 --- /dev/null +++ b/Assets/Textures.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 184ab3d096bbce9488707cce0f00b516 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Textures/Basic Direction Texture.png b/Assets/Textures/Basic Direction Texture.png new file mode 100644 index 0000000000000000000000000000000000000000..84e133513bfd26976378a81803b5e376265d6cda GIT binary patch literal 333 zcmeAS@N?(olHy`uVBq!ia0vp^4Is?H1SEZ8zRdwroCO|{#S9F3${@^GvDCf{D9B#o z>Fdh=m|KWZ+_c%uof{}5S>hT|;+&tGo0?a`;9QiNSdyBeP@Y+mq2TW68xY>eCk|9} z+|$J|q~g}wiwAib7+4q#|Gcp`$e!@UY=?<@-SzYAS}Y*@1sE8Z7#tWFI2afh85BV3 iC=#TWIdEqbEMT2p!p#2e?e=^IAn