用OpenGL写条pipeline

Posted by szh on 2019-09-22

一些资料

Learn OpenGL 很好的 OpenGL 教程

要做的事情

光照模型

  • Blinn-Phong
  • GGX BRDF

Rendering Path

  • Forward
  • Forward+
  • Light PrePass
  • Tile Based Deferred Lighting
  • Cluster Based Deferred Lighting

阴影

  • 基本的 ShadowMapping
  • 反走样
    • PCF(Percentage-Closer Filter)
    • CSM(Convolution Shadow Mapping)
    • VSM(Variance Shadow Mapping)
    • ESM(Exponential Shadow Mapping)
    • PCSS (Percentage-Closer Soft Shadows)

Culling

Post Processing

一些思路