Skip to content
Snippets Groups Projects
Commit c0d04a8b authored by PARK Sanghyuk's avatar PARK Sanghyuk
Browse files

Update README.md

parent d84f5973
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment