mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-20 23:24:16 +00:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user