May 2019
Intermediate to advanced
542 pages
13h 37m
English
The vertex processing and fragment shader steps are user-definable. At a minimum, you must create a vertex shader and a fragment shader. Optional steps include the geometry shader and tessellation steps, which are part of vertex processing.
#version 2.1 attribute highp vec4 vertex; void main (void) { gl_Position = vertex; }
Your version string is wrong. It should read #version 120, since it specifies the version of ...
Read now
Unlock full access