Skip to content

Commit 7941185

Browse files
committed
Added defined uv1 and uv2 in mesh shader
1 parent 2fd6e4e commit 7941185

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/shaderlib/mesh.vert

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ uniform u_vs_pbrParams {
66
mat4 mvpMatrix;
77
} pbrParams;
88

9-
#ifdef HAS_TEXTURERECT
9+
#if defined(HAS_TEXTURERECT) && (defined(HAS_UV_SET1) || defined(HAS_UV_SET2))
1010
uniform u_vs_spriteParams {
1111
vec4 textureRect;
1212
} spriteParams;

0 commit comments

Comments
 (0)