diff --git a/README.md b/README.md index 43ceafe5a7f285a2f087d21115d0ce994b03b80a..3b39a62ed7ff753b22e25449e61e2cb2981ff654 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