From d5d54188c9b50358351612b384be645a404b4c9e Mon Sep 17 00:00:00 2001 From: Nico de Poel Date: Sun, 1 Aug 2021 01:32:55 +0200 Subject: [PATCH] Moved particle render queue to one before Transparent, so that they get rendered before the transparent water. Fixes particles drawing on top of water, which looked wrong. --- Assets/Styles/GLQuake/Particles/Particle.mat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Styles/GLQuake/Particles/Particle.mat b/Assets/Styles/GLQuake/Particles/Particle.mat index b53edce..d42d8f5 100644 --- a/Assets/Styles/GLQuake/Particles/Particle.mat +++ b/Assets/Styles/GLQuake/Particles/Particle.mat @@ -26,7 +26,7 @@ Material: m_LightmapFlags: 4 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 - m_CustomRenderQueue: 3000 + m_CustomRenderQueue: 2999 stringTagMap: RenderType: Transparent disabledShaderPasses: @@ -120,7 +120,7 @@ Material: - _Mode: 0 - _OcclusionStrength: 1 - _Parallax: 0.005 - - _QueueOffset: 0 + - _QueueOffset: -1 - _ReceiveShadows: 1 - _Smoothness: 0.5 - _SmoothnessTextureChannel: 0