Sign in Go Pro

Build a Google VR App

Your First OpenGL Shader

This lesson is for PRO members.

Upgrade today to get access to all the PRO lessons.

Unlock this lesson

Previous

About

A key feature of modern OpenGL rendering pipelines is that they are programmable. In this lesson, we learn the basics of pipeline programming.

You'll learn:

  • How to pass in Vertex data.
  • How to compile Shaders.
  • How to create simple Vertex Shaders.
  • How to create simple Fragment Shaders.
  • How to pass attributes and uniforms from Java to an OpenGL Shader.
  • How to draw simple triangle primitives to screen.

Lessons in Build a Google VR App