250 likes | 474 Views
Introduction to Post Process. Sai-Keung Wong Chiao Tung University, Taiwan, R.O.C. Reference: Mastering Unreal Technology (MUT). Contents. Post Process?
E N D
Introduction to Post Process Sai-Keung Wong Chiao Tung University, Taiwan, R.O.C. Reference: Mastering Unreal Technology (MUT)
Contents • Post Process? • The term post-processing (or postproc for short) is used in the video/film business for quality-improvement image processing (specifically digital image processing) methods… • Source: http://en.wikipedia.org/wiki/Video_post-processing
Depth of Field Reference Image Motion Blur Bloom
Simple PostProcess • View->World Properties
World Settings and Post Process全圖設置與後期特效對象 • WorldInfo->Post Process
Default Post Process • Change Bloom Scale -> 20
World Post Process • Save and test. Before After
Post Process Effect • In content browser • Right click at empty space • Select “Post Process Chain” • Package(包): GameLevel00 • Group(组): PostProcesses • Name(名称): ppc_00
Post Process Effect 場景渲染目標
DOFEffect -> • FalloffExponent(衰减指数): • BlurKernelSize(模糊核心大小): • MaxNearBlurAmount(最大近端模糊量): • MaxFarBlurAmount(最大远端模糊量): • FocusInnerRadius(焦点内半径): • FocusDistance(焦距):
Create a UIScene • And then set Post Process for background
Post Process Effects Modules(后期特效模块) • SceneRenderTarget(场景渲染目标) • BloomEffect(强光溢出特效) • DOFEffect(景深特效) • DOFAndBloomEffect(景深与强光溢出特效) • MaterialEffect(材质特效) • MotionBlurEffect(运动模糊特效)
Post Process Effects Modules(后期特效模块) • UberPostProcessEffect(Uber后期特效) • Should use • 场景色调、Bloom,以及景深效果。 • Bloom及景深效果 should be applied first. • Then apply 场景色调效果。
通用属性 • bShowInEditor(编辑器中显示) • bShowInGame(游戏中显示) • bUseWorldSettings(使用全图设置) • EffectName(特效名称) • SceneDPG (Scene Depth Priority Group) (场景深度优先组)
Playing while UIScene activated • Save and test. Play the game. • After using the trigger, the game is paused!
Playing while UIScene activated • In UIScene Editor, • Change properties • Flags • Interaction
1. Playing while UIScene activated • Uncheck “Pause game while activated”
2. Playing while UIScene activated • Scene Input Mode -> INPUTMODE_None
Playing while UIScene activated • Save and test. You can walk around and fire!
Playing while UIScene activated • Now, add a delay action before the effect is taken place. Save and test.
Uber後期特效屬性 • SceneShadows(場景陰影) • X: 0.0 • Y: 0.25 • Z: 0.50 • Green component < 0.25 • Blue component < 0.5 • => 像素色 = 0.0.
Uber後期特效屬性 • SceneHighlights(场景高亮): • X: 0.5 • Y: 0.675 • Z: 1.0 • Green > 0.675 • Blue > 0.5 • => 像素变为1.0,