From 36f24dbbf171a8db156e18dcaf9abbff90105ebc Mon Sep 17 00:00:00 2001 From: korenkonder Date: Tue, 25 Mar 2025 20:20:38 +0300 Subject: [PATCH] Fixed missing alpha test in SIL shader --- src/CRE/shader_ft.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/CRE/shader_ft.cpp b/src/CRE/shader_ft.cpp index 761a0112..c3fb1a36 100644 --- a/src/CRE/shader_ft.cpp +++ b/src/CRE/shader_ft.cpp @@ -256,11 +256,11 @@ static const int32_t simple_fpt_unival_max[] = { }; static const int32_t silhouette_vpt_unival_max[] = { - 1, 1, + 1, 1, 0, }; static const int32_t silhouette_fpt_unival_max[] = { - 0, 0, + 0, 0, 1, }; static const int32_t lambert_vpt_unival_max[] = { @@ -2332,6 +2332,7 @@ static const uniform_name SIMPLE_uniform[] = { static const uniform_name SIL_uniform[] = { U_SKINNING, U_MORPH, + U_ALPHA_TEST, }; static const uniform_name LAMBERT_uniform[] = {