|
| | sampler (0, ImageType::FLOAT_2D, "inputCocTex") .sampler(1 |
| |
| maxCocTilesTex | sampler (2, ImageType::FLOAT_2D, "sceneColorTex") .sampler(3 |
| |
| maxCocTilesTex sceneDepthTex | sampler (4, ImageType::FLOAT_2D, "backgroundTex") .sampler(5 |
| |
| maxCocTilesTex sceneDepthTex halfResColorTex | sampler (6, ImageType::FLOAT_2D, "blurTex") .sampler(7 |
| |
| maxCocTilesTex sceneDepthTex halfResColorTex noiseTex push_constant(Type::VEC2, "invertedViewportSize") .push_constant(Type | define ("PREPARE") .fragment_out(0 |
| |
| maxCocTilesTex sceneDepthTex halfResColorTex noiseTex push_constant(Type::VEC2, "invertedViewportSize") .push_constant(Type halfResColor | fragment_out (1, Type::VEC2, "normalizedCoc") .additional_info("workbench_effect_dof") .do_static_compilation(true) |
| |
| | define ("DOWNSAMPLE") .fragment_out(0 |
| |
| outColor | fragment_out (1, Type::VEC2, "outCocs") .additional_info("workbench_effect_dof") .do_static_compilation(true) |
| |
| | define ("BLUR1") .define("NUM_SAMPLES" |
| |
| | uniform_buf (1, "vec4", "samples[49]") .fragment_out(0 |
| |
| blurColor | additional_info ("workbench_effect_dof") .do_static_compilation(true) |
| |
| | define ("BLUR2") .fragment_out(0 |
| |
| | define ("RESOLVE") .fragment_out(0 |
| |
| DualBlend::SRC_0 | fragment_out (0, Type::VEC4, "finalColorMul", DualBlend::SRC_1) .additional_info("workbench_effect_dof") .do_static_compilation(true) |
| |