Follow the given steps:
ch_Square.htmlin your favorite HTML editor (ideally one that supports syntax highlighting like Notepad++ or Crimson Editor).
<script id="shader-fs" type="x-shader/x-fragment">contains the fragment shader code.
<script id="shader-vs" type="x-shader/x-vertex">contains the vertex shader code. We will not be paying attention to these two scripts as these will be the main point of study in the next chapter. For now, let's notice that we have a ...