From 17baa34d38d62cd39907b1bd6016c1e8269f842d Mon Sep 17 00:00:00 2001 From: zmoixdev Date: Wed, 11 Mar 2026 19:50:48 -0600 Subject: [PATCH] fixing ground material tiling --- Assets/Environment/GridBlue_01_Mat.mat | 140 ------------------ Assets/Environment/GridBlue_01_Mat.mat.meta | 16 -- Assets/Scenes/TestBed.unity | 61 +++++++- .../Art/Materials/GreyBlue_Mat.mat | 2 +- 4 files changed, 61 insertions(+), 158 deletions(-) delete mode 100644 Assets/Environment/GridBlue_01_Mat.mat delete mode 100644 Assets/Environment/GridBlue_01_Mat.mat.meta diff --git a/Assets/Environment/GridBlue_01_Mat.mat b/Assets/Environment/GridBlue_01_Mat.mat deleted file mode 100644 index 9567152..0000000 --- a/Assets/Environment/GridBlue_01_Mat.mat +++ /dev/null @@ -1,140 +0,0 @@ -%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: GridBlue_01_Mat - m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} - m_Parent: {fileID: 0} - m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _EMISSION - - _NORMALMAP - m_InvalidKeywords: [] - m_LightmapFlags: 2 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: -1 - stringTagMap: - RenderType: Opaque - disabledShaderPasses: - - MOTIONVECTORS - m_LockedProperties: - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - _BaseMap: - m_Texture: {fileID: 2800000, guid: d1118dda59970a2449ee890fa247c4c5, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0.004, y: 0} - - _BumpMap: - m_Texture: {fileID: 2800000, guid: c5c221ed57a3bf6488f8eba0db28a004, type: 3} - 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: 2800000, guid: d4d6919451fe3e24388816386a6d15a4, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _MainTex: - m_Texture: {fileID: 2800000, guid: d1118dda59970a2449ee890fa247c4c5, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0.004, 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} - - _SpecGlossMap: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_Lightmaps: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_LightmapsInd: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - unity_ShadowMasks: - m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Ints: [] - m_Floats: - - _AddPrecomputedVelocity: 0 - - _AlphaClip: 0 - - _AlphaToMask: 0 - - _Blend: 0 - - _BlendModePreserveSpecular: 1 - - _BumpScale: 1 - - _ClearCoatMask: 0 - - _ClearCoatSmoothness: 0 - - _Cull: 2 - - _Cutoff: 0.5 - - _DetailAlbedoMapScale: 1 - - _DetailNormalMapScale: 1 - - _DstBlend: 0 - - _DstBlendAlpha: 0 - - _EnvironmentReflections: 1 - - _GlossMapScale: 1 - - _Glossiness: 0.477 - - _GlossyReflections: 1 - - _Metallic: 0 - - _Mode: 0 - - _OcclusionStrength: 0 - - _Parallax: 0.02 - - _QueueOffset: 0 - - _ReceiveShadows: 1 - - _Smoothness: 0.477 - - _SmoothnessTextureChannel: 0 - - _SpecularHighlights: 1 - - _SrcBlend: 1 - - _SrcBlendAlpha: 1 - - _Surface: 0 - - _UVSec: 0 - - _WorkflowMode: 1 - - _ZWrite: 1 - m_Colors: - - _BaseColor: {r: 0.27038085, g: 0.6601244, b: 0.8773585, a: 1} - - _Color: {r: 0.27038082, g: 0.66012436, b: 0.8773585, a: 1} - - _EmissionColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} - - _SpecColor: {r: 0.2, g: 0.2, b: 0.2, a: 1} - m_BuildTextureStacks: [] - m_AllowLocking: 1 ---- !u!114 &4889104241632654758 -MonoBehaviour: - m_ObjectHideFlags: 11 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} - m_Name: - m_EditorClassIdentifier: - version: 9 diff --git a/Assets/Environment/GridBlue_01_Mat.mat.meta b/Assets/Environment/GridBlue_01_Mat.mat.meta deleted file mode 100644 index 387019a..0000000 --- a/Assets/Environment/GridBlue_01_Mat.mat.meta +++ /dev/null @@ -1,16 +0,0 @@ -fileFormatVersion: 2 -guid: ff188f58422043f489060e28a5e4e0c0 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 0 - userData: - assetBundleName: - assetBundleVariant: -AssetOrigin: - serializedVersion: 1 - productId: 196526 - packageName: Starter Assets - ThirdPerson | Updates in new CharacterController - package - packageVersion: 1.1.5 - assetPath: Assets/StarterAssets/Environment/Art/Materials/GridBlue_01_Mat.mat - uploadId: 691128 diff --git a/Assets/Scenes/TestBed.unity b/Assets/Scenes/TestBed.unity index 4565cd4..1e20754 100644 --- a/Assets/Scenes/TestBed.unity +++ b/Assets/Scenes/TestBed.unity @@ -590,7 +590,7 @@ MeshRenderer: m_RenderingLayerMask: 1 m_RendererPriority: 0 m_Materials: - - {fileID: 10303, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 2100000, guid: ff188f58422043f489060e28a5e4e0c0, type: 2} m_StaticBatchInfo: firstSubMesh: 0 subMeshCount: 0 @@ -957,6 +957,64 @@ PrefabInstance: insertIndex: -1 addedObject: {fileID: 1363832598} m_SourcePrefab: {fileID: 100100000, guid: 11fade17c21112340bb464e8ef0fcfc2, type: 3} +--- !u!1001 &1462683441 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + serializedVersion: 3 + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: 2538498025352336027, guid: c6e42c96b22645e44801e77e48cc7fab, type: 3} + propertyPath: m_LocalPosition.x + value: -17.310455 + objectReference: {fileID: 0} + - target: {fileID: 2538498025352336027, guid: c6e42c96b22645e44801e77e48cc7fab, type: 3} + propertyPath: m_LocalPosition.y + value: 3.14 + objectReference: {fileID: 0} + - target: {fileID: 2538498025352336027, guid: c6e42c96b22645e44801e77e48cc7fab, type: 3} + propertyPath: m_LocalPosition.z + value: -23.730171 + objectReference: {fileID: 0} + - target: {fileID: 2538498025352336027, guid: c6e42c96b22645e44801e77e48cc7fab, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 2538498025352336027, guid: c6e42c96b22645e44801e77e48cc7fab, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2538498025352336027, guid: c6e42c96b22645e44801e77e48cc7fab, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2538498025352336027, guid: c6e42c96b22645e44801e77e48cc7fab, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2538498025352336027, guid: c6e42c96b22645e44801e77e48cc7fab, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2538498025352336027, guid: c6e42c96b22645e44801e77e48cc7fab, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 2538498025352336027, guid: c6e42c96b22645e44801e77e48cc7fab, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8132675901708253674, guid: c6e42c96b22645e44801e77e48cc7fab, type: 3} + propertyPath: m_Name + value: TestGround + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_RemovedGameObjects: + - {fileID: 3485915903270806916, guid: c6e42c96b22645e44801e77e48cc7fab, type: 3} + m_AddedGameObjects: [] + m_AddedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: c6e42c96b22645e44801e77e48cc7fab, type: 3} --- !u!1001 &1591768929 PrefabInstance: m_ObjectHideFlags: 0 @@ -1248,3 +1306,4 @@ SceneRoots: - {fileID: 442583647} - {fileID: 1387337966} - {fileID: 1591768929} + - {fileID: 1462683441} diff --git a/Assets/StarterAssets/Environment/Art/Materials/GreyBlue_Mat.mat b/Assets/StarterAssets/Environment/Art/Materials/GreyBlue_Mat.mat index 4414bcc..63f56a9 100644 --- a/Assets/StarterAssets/Environment/Art/Materials/GreyBlue_Mat.mat +++ b/Assets/StarterAssets/Environment/Art/Materials/GreyBlue_Mat.mat @@ -50,7 +50,7 @@ Material: m_Offset: {x: 0, y: 0} - _DetailAlbedoMap: m_Texture: {fileID: 0} - m_Scale: {x: 1, y: 1} + m_Scale: {x: 10, y: 10} m_Offset: {x: 0, y: 0} - _DetailMask: m_Texture: {fileID: 0}