webgl-demo makes shader fill canvas

This commit is contained in:
Emile Clark-Boman 2025-07-28 13:07:30 +10:00
parent e0bc5aab8b
commit f00d7c60d3
2 changed files with 11 additions and 6 deletions

View file

@ -72,7 +72,7 @@ function main() {
uniform mat4 uModelViewMatrix;
uniform mat4 uProjectionMatrix;
void main() {
gl_Position = uProjectionMatrix * uModelViewMatrix * aVertexPosition;
gl_Position = aVertexPosition;
}
`;