My Topic – Section Title



My Topic – Section Title

0 0


slides


On Github gonsfx / slides

My Topic

Christoph Werner@gonsfx

Section Title

Unordered List

  • List Element 1
  • List Element 2
  • List Element 3
  • List Element 4

Highlighted Code

attribute vec3 aVertexPosition;
attribute vec4 aVertexColor; // color attribute

uniform mat4 uMVMatrix;
uniform mat4 uPMatrix;

varying vec4 vColor; // color varying

void main(void) {
  gl_Position = uPMatrix * uMVMatrix * vec4(aVertexPosition, 1.0);
  vColor = aVertexColor; // forward current vertex color to fragment shader
}

Fragen?