From 196830af3bed0ec59d9e32257df1efb17f1c7528 Mon Sep 17 00:00:00 2001 From: Lucien Date: Tue, 25 Aug 2026 11:37:13 +0200 Subject: [PATCH] Change invisible mat to be truly invisible --- Sources/Materials/Invisible.mat | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/Sources/Materials/Invisible.mat b/Sources/Materials/Invisible.mat index a0979a3d..799acc2c 100644 --- a/Sources/Materials/Invisible.mat +++ b/Sources/Materials/Invisible.mat @@ -25,27 +25,24 @@ Material: m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 m_ValidKeywords: - - _ALPHAPREMULTIPLY_ON + - _ALPHATEST_ON - _ENVIRONMENTREFLECTIONS_OFF - _RECEIVE_SHADOWS_OFF - _SPECULARHIGHLIGHTS_OFF - - _SURFACE_TYPE_TRANSPARENT m_InvalidKeywords: [] m_LightmapFlags: 4 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 + m_CustomRenderQueue: 2450 stringTagMap: - RenderType: Transparent - disabledShaderPasses: - - DepthOnly - - SHADOWCASTER + RenderType: TransparentCutout + disabledShaderPasses: [] m_LockedProperties: m_SavedProperties: serializedVersion: 3 m_TexEnvs: - _BaseMap: - m_Texture: {fileID: 2800000, guid: d8d6c22caebee1c4ead20ab7be6ac44b, type: 3} + m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _BumpMap: @@ -69,7 +66,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 2800000, guid: d8d6c22caebee1c4ead20ab7be6ac44b, type: 3} + m_Texture: {fileID: 0} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MetallicGlossMap: @@ -102,19 +99,19 @@ Material: m_Offset: {x: 0, y: 0} m_Ints: [] m_Floats: - - _AlphaClip: 0 - - _AlphaToMask: 0 + - _AlphaClip: 1 + - _AlphaToMask: 1 - _Blend: 0 - _BlendModePreserveSpecular: 1 - _BumpScale: 1 - _ClearCoatMask: 0 - _ClearCoatSmoothness: 0 - _Cull: 2 - - _Cutoff: 0 + - _Cutoff: 1 - _DetailAlbedoMapScale: 1 - _DetailNormalMapScale: 1 - - _DstBlend: 10 - - _DstBlendAlpha: 10 + - _DstBlend: 0 + - _DstBlendAlpha: 0 - _EnvironmentReflections: 0 - _GlossMapScale: 0 - _Glossiness: 0 @@ -129,12 +126,12 @@ Material: - _SpecularHighlights: 0 - _SrcBlend: 1 - _SrcBlendAlpha: 1 - - _Surface: 1 + - _Surface: 0 - _WorkflowMode: 1 - - _ZWrite: 0 + - _ZWrite: 1 m_Colors: - - _BaseColor: {r: 1, g: 0, b: 0, a: 1} - - _Color: {r: 1, g: 0, b: 0, a: 1} + - _BaseColor: {r: 1, g: 0, b: 0, a: 0} + - _Color: {r: 1, g: 0, b: 0, a: 0} - _EmissionColor: {r: 0, g: 0, b: 0, a: 1} - _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} m_BuildTextureStacks: []