From b52fbb7c6299082a840125f072a2b3f5226cd145 Mon Sep 17 00:00:00 2001 From: Vladislav Belov Date: Sun, 22 Mar 2026 00:51:41 +0100 Subject: [PATCH] Fixes particle shader compilation The problem was only in case of USE_DESCRIPTOR_INDEXING. Because it adds additional data for textures to the end of draw uniforms. Fixes #8780 --- binaries/data/mods/mod/shaders/glsl/particle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binaries/data/mods/mod/shaders/glsl/particle.h b/binaries/data/mods/mod/shaders/glsl/particle.h index 2d6b376d61..610aa3d950 100644 --- a/binaries/data/mods/mod/shaders/glsl/particle.h +++ b/binaries/data/mods/mod/shaders/glsl/particle.h @@ -8,12 +8,12 @@ BEGIN_DRAW_TEXTURES END_DRAW_TEXTURES BEGIN_DRAW_UNIFORMS - UNIFORM(mat4, modelViewMatrix) UNIFORM(mat4, spaceTransform) END_DRAW_UNIFORMS BEGIN_MATERIAL_UNIFORMS UNIFORM(mat4, transform) + UNIFORM(mat4, modelViewMatrix) UNIFORM(vec3, sunColor) UNIFORM(vec3, fogColor) UNIFORM(vec2, fogParams)