GLSL and shaders. Vertex shader and fragment shader
Previous tutorial: Rendering pipeline in OpenGL
Next tutorial: OpenGL Basics and Triangle Rendering. Rendering Pipeline, Vertex and Fragment Shaders
In this tutorial we'll write shaders that are necessary for the program that draws just triangles. We'll write vertex shader and fragment shader.
Shader is just a program that's written on GLSLExtensions: .vs, .fs, .vert, .frag
Loading shader file in the program
No comments yet