mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07: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:
parent
19fe52f328
commit
b52fbb7c62
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue