From 53ebe55c921a9a1c248985bf740a1fcf0aefd1dc Mon Sep 17 00:00:00 2001 From: Lura <77991691+Luracasmus@users.noreply.github.com> Date: Fri, 23 Aug 2024 23:28:31 +0200 Subject: [PATCH] fix: uniforms: be even a tiny bit more clear --- src/content/docs/reference/Uniforms/Matrices/textureMatrix.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/reference/Uniforms/Matrices/textureMatrix.mdx b/src/content/docs/reference/Uniforms/Matrices/textureMatrix.mdx index 7df10e8..207d46b 100644 --- a/src/content/docs/reference/Uniforms/Matrices/textureMatrix.mdx +++ b/src/content/docs/reference/Uniforms/Matrices/textureMatrix.mdx @@ -14,7 +14,7 @@ import { Aside } from '@astrojs/starlight/components'; ### `uniform mat4 textureMatrix;` -Transforms texture coordinates. Mainly used in [`gbuffers_armor_glint`](/reference/programs/gbuffers) to scroll the texture over time, but may be applied to other geometry as well (especially by mods). It is therefore strongly recommended to use this matrix in all [gbuffers-style](/reference/programs/overview/#program-order) programs. +Transforms texture coordinates. Mainly used in [`gbuffers_armor_glint`](/reference/programs/gbuffers) to scroll the texture over time, but may be applied to other geometry as well (especially by mods). It is therefore strongly recommended to use this matrix in all [gbuffers-style](/reference/programs/overview/#program-order) programs utilizing [`vaUV0`](/reference/attributes/vauv0/). ```glsl vec2 coord = (textureMatrix * vec4(vaUV0, 0.0, 1.0)).xy; ```