cocos-docs
cocos-docs copied to clipboard
内置管线
URL : https://docs.cocos.com/creator/manual/zh/render-pipeline/builtin-pipeline.html
此說明文件頁中針對 deferred rendering pipeine 提到
-- MainFlow 包含了 GBufferStage、LightingStage、BloomStage 和 PostProcessStage 四个阶段:
GbufferStage 会对场景中的非透明物体进行绘制; 然后 LightingStage 会对输出到 GBuffer 中的非透明物体信息进行基于屏幕空间的光照计算,再绘制半透明物体。如果有非透明物体并且设备支持 ComputeShader,还会进行 SSPR 的资源收集与绘制; 若还开启了 Bloom 效果,BloomStage 会对已经经过 LightingStage 处理后的图像进行 Bloom 后处理; 最后 PostProcessStage 会把 BloomStage/LightingStage 输出的全屏图像绘制到主屏幕中,再进行 UI 的绘制。
其中沒有對 'SSPR' 此縮寫專有名詞做解釋,因此會讓人不知道在說哪一個渲染技術步驟。 並且中文版本與英文版本的說明內容也不一致,但我覺得英文版本沒有在此提到 BloomStage 反而更適合,因為 BloomStage 其實並非 deferred rendering 專屬的 rendering feature