From c0d04a8bc291fae572809ef2a27721882971f211 Mon Sep 17 00:00:00 2001 From: PARK Sanghyuk <zola8138@ajou.ac.kr> Date: Mon, 21 Jun 2021 06:00:08 +0900 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 43ceafe..3b39a62 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ Very brief comments are here, so read the source code to see the details. # Initializing <img src=img/InitializeGL.png width=50%> + First, you use "webgl2" instead of "webgl", on initializing canvas. Note that there is no "experimental-webgl2". Many WebGL1 extensions are a standard part of WebGL2. @@ -29,8 +30,11 @@ Simply change them to "out" in the vertex shader, and "in" in the fragment shade # Shader Code Example <img src=img/FragmentShader.png width=50%> + Fragment shader + <img src=img/VertexShader.png width=50%> + Vertex shader # References -- GitLab