3D Fundamentals Tutorial 9

From Chilipedia
Revision as of 04:28, 4 June 2020 by R vdw (Talk | contribs) (Video)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In this tutorial we incorporate our first shader stage into the 3D pipeline: the pixel shader stage. We also explore some basic example pixel shaders (more heavy-duty stuff to come later).

Video

The tutorial video is on YouTube here.

[Expand]
  • What is a Pixel Shader and why is it used? 0:20
  • Refactoring of the gfx.PutPixel(...) function in Pipeline.h 2:04
  • Implementation of the programmable Pixel Shader in the rendering pipeline 3:11
  • Making a new Effect: Color Blending 8:31
  • Making a new Effect: Solid Colors 14:47
  • Reflections on our approach to Pixel Shading 19:58

Downloads

The GitHub repository for the tutorial code is here.

See also