From d374b1d856c3553ffd7296a7980133150c27bd44 Mon Sep 17 00:00:00 2001 From: Harrison Date: Mon, 2 Sep 2024 11:08:55 +0300 Subject: [PATCH] fix: add extra shader variants to fix transparency issues --- .../glTFastShaderVariants.shadervariants | 32 ++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/Runtime/Core/Shaders/glTFastShaderVariants.shadervariants b/Runtime/Core/Shaders/glTFastShaderVariants.shadervariants index 32bf5f24..b1eb71c6 100644 --- a/Runtime/Core/Shaders/glTFastShaderVariants.shadervariants +++ b/Runtime/Core/Shaders/glTFastShaderVariants.shadervariants @@ -10,4 +10,34 @@ ShaderVariantCollection: m_Shaders: - first: {fileID: 4800000, guid: 99fa998bbbed3408aafa652b466d261d, type: 3} second: - variants: [] + variants: + - keywords: DIRECTIONAL LIGHTPROBE_SH SHADOWS_SCREEN + passType: 4 + - keywords: DIRECTIONAL LIGHTPROBE_SH SHADOWS_SCREEN _EMISSION _METALLICGLOSSMAP + _NORMALMAP + passType: 4 + - keywords: DIRECTIONAL LIGHTPROBE_SH SHADOWS_SCREEN _METALLICGLOSSMAP _NORMALMAP + passType: 4 + - keywords: DIRECTIONAL LIGHTPROBE_SH SHADOWS_SCREEN _NORMALMAP + passType: 4 + - keywords: DIRECTIONAL LIGHTPROBE_SH _ALPHABLEND_ON + passType: 4 + - keywords: DIRECTIONAL LIGHTPROBE_SH _ALPHABLEND_ON _EMISSION _METALLICGLOSSMAP + _NORMALMAP + passType: 4 + - keywords: DIRECTIONAL LIGHTPROBE_SH _ALPHABLEND_ON _METALLICGLOSSMAP _NORMALMAP + passType: 4 + - keywords: + passType: 8 + - keywords: SHADOWS_DEPTH + passType: 8 + - keywords: SHADOWS_DEPTH _ALPHABLEND_ON + passType: 8 + - keywords: SHADOWS_DEPTH _ALPHABLEND_ON _METALLICGLOSSMAP + passType: 8 + - keywords: SHADOWS_DEPTH _METALLICGLOSSMAP + passType: 8 + - keywords: _ALPHABLEND_ON + passType: 8 + - keywords: _METALLICGLOSSMAP + passType: 8