Introduction to Shaders

What is a shader?

Why run code on the GPU?

Vertex & Fragment

Vertex Shaders

Output the position of the each vertex in screen coordinates.

Fragment Shaders

Output the color of each pixel in the rendered image.

Writing Shaders

(in Unity3d)

Tutorials

  • http://aerotwist.com/tutorials/an-introduction-to-shaders-part-1/
  • http://aerotwist.com/tutorials/an-introduction-to-shaders-part-2/
  • http://docs.unity3d.com/Manual/SL-VertexFragmentShaderExamples.html

Introduction to Shaders

By jimfleming

Introduction to Shaders

Very brief 5 minute introduction to shaders.

  • 520