title: How to send multiple parameters to the vertex shader on WebGL?
body: <p>I'm following a tutorial on OpenGL (because WebGL tutorials are rare), where it uses the following syntax for multiple parameteres:</p>
  
  <pre><code>#version 330
  
  layout (location = 0) in vec4 position;
  layout (location = 1) in vec4 color;
  
  smooth out vec4 theColor;
  
  void main()
  {
      gl_Position = position;
      theColor = color;
  }
  </code></pre>
  
  <p>But the <code>layout (location = #)</code> syntax doesn't work on WebGL. What is the substitute for this?</p>