-
Notifications
You must be signed in to change notification settings - Fork 1
ProceduralDeferredRenderer
github-actions[bot] edited this page Aug 19, 2026
·
1 revision
较复杂的任务:实现一个中小规模但完整的程序化渲染器,综合考察现代 OpenGL 的多 pass 渲染流程组织能力。
以 OpenGL 4.6 core profile 实现一个程序化渲染器,场景内容全部在代码中生成(几何与纹理不得使用任何外部资产):
-
1600 x 900窗口,标题OpenGL ProceduralDeferredRenderer Test - 程序化 mesh(cube、floor、非 cube 曲面)+ 程序化纹理;instancing 渲染至少
100个可见物体 - 多 pass 渲染流程:shadow pass、geometry pass(G-buffer 或 HDR forward)、lighting pass、post-processing pass
- shadow mapping(含 PCF)、至少
16个 point light、HDR tone mapping + gamma correction、额外后处理效果(bloom/blur 等,可用 ping-pong FBO) - 使用 UBO/SSBO 等结构化 GPU 数据路径;初始化阶段构建 CPU 侧 render graph 或缓存 pass-command 结构,每帧重放
- 运行时调试:
WASD+鼠标相机、B/H/P开关、1/2/3切换 debug view、支持窗口 resize、标题显示 FPS