webgl-demo makes shader fill canvas
This commit is contained in:
parent
e0bc5aab8b
commit
f00d7c60d3
2 changed files with 11 additions and 6 deletions
|
|
@ -72,7 +72,7 @@ function main() {
|
|||
uniform mat4 uModelViewMatrix;
|
||||
uniform mat4 uProjectionMatrix;
|
||||
void main() {
|
||||
gl_Position = uProjectionMatrix * uModelViewMatrix * aVertexPosition;
|
||||
gl_Position = aVertexPosition;
|
||||
}
|
||||
`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue