crysis2 dx9一帧渲染流程笔记

crysis2 dx9一帧渲染流程笔记

crysis2 dx9一帧渲染流程:

1. TestCooperativeLevel()
2. 设置n-patch细分等级D3DRS_ADAPTIVETESS_Y
3. GPU同步设置,Query9::GetData(), Query9::Issue()
4. ShadowMap
5. ZPass, 生成GBuffer信息。
6. Depth_DownScale
7. SSAO
8. Scattering List

9. Deferred Lighting
9.1 Irradiance Volume Evaluate
9.2.1 Visares
9.2.2 Outdoor
9.3   Deferred CubeMaps
9.4   Deferred Lights
9.5   SSAO_BLUR
9.6   Deferred Lights
9.6.1 ShadowMap Pool

10. 不透明物体绘制。
10.1 General(BW)
10.2 地形(BW)
10.3 General(AW)
10.4 地形(AW)
10.5 细节(BW)
10.6 细节(AW)
10.7 皮肤生成
10.8 皮肤应用

11. 半透明物体绘制。
11.1 雾

12. Glow Gen(光晕生成)

13. HDR Post Proesss
13.1 Motion Blur, 运动模糊
13.1.1 Motion Vector Gen
13.1.2 Motion Vector Dilate
13.1.3 Motion Vector Apply
13.1.4 Motion Vector Apply Pass 2

13.2 HalfRes downsample
13.3 QuarterRes downsample
13.4 BrightPass
13.5 Bloom and Flares
13.5.1 TexBlur 16Taps
13.5.2 TexBlur Gaussian
13.5.3 TexBlur Gaussian
13.5.4 HDR flares

13.6 Sunshafts生成
13.7 MergeColorCharts
13.8 CombineColorGradingWithColorChart
13.9 ToneMapping

14. Post Effects
14.1 MSAA
14.2 3D HUD

15. 刷新绘制
16. 绘制界面
17. 绘制调试信息


 crysis2 dx9一帧渲染流程笔记_第1张图片

你可能感兴趣的:(crysis2 dx9一帧渲染流程笔记)