From 72dcad6978a83e47c74dc90f684ea5d748cd6d4b Mon Sep 17 00:00:00 2001 From: Tetro48 <76738929+Tetro48@users.noreply.github.com> Date: Sun, 31 Dec 2023 22:34:45 +0700 Subject: [PATCH] Offset block rendering in queue, and made border material instanced --- Assets/Materials/blocks.mat | 4 ++-- Assets/Materials/border.mat | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Materials/blocks.mat b/Assets/Materials/blocks.mat index 3ee0588..69b1296 100644 --- a/Assets/Materials/blocks.mat +++ b/Assets/Materials/blocks.mat @@ -15,7 +15,7 @@ Material: m_LightmapFlags: 4 m_EnableInstancingVariants: 1 m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 + m_CustomRenderQueue: 3010 stringTagMap: RenderType: Transparent disabledShaderPasses: @@ -81,7 +81,7 @@ Material: - _Mode: 2 - _OcclusionStrength: 1 - _Parallax: 0.02 - - _QueueOffset: 0 + - _QueueOffset: 10 - _SampleGI: 0 - _SmoothnessTextureChannel: 0 - _SpecularHighlights: 0 diff --git a/Assets/Materials/border.mat b/Assets/Materials/border.mat index 9132679..fdc007f 100644 --- a/Assets/Materials/border.mat +++ b/Assets/Materials/border.mat @@ -12,7 +12,7 @@ Material: m_ValidKeywords: [] m_InvalidKeywords: [] m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 + m_EnableInstancingVariants: 1 m_DoubleSidedGI: 0 m_CustomRenderQueue: -1 stringTagMap: