/toy-renderer

My OpenGL playground.

Primary LanguageC

Toy Renderer

Everyone learning CG seems to have implemented his/her own renderer from scratch. So this one is mine.

Toy Renderer is implemented using OpenGL 3.3.

Features

  • Most of glTF format support

  • PBR pbr pbr2

  • Temporal Antialiasing

    See the relevant write-up on Zhihu.

    • TAA Disabled taadisabled
    • TAA enabled taaenabled
  • Cascaded Shadow Mapping csm

  • Percentage-Closer Soft Shadow pcss

To-do

  • Scene representation using Octree.

  • Bugs

    • Store g channel of the LUT image in float, NOT int, for higher precision.