|
|
| colorBuf | sampler (1, ImageType::FLOAT_2D, "revealBuf") .sampler(2 |
| |
| colorBuf maskBuf push_constant(Type::INT, "blendMode") .push_constant(Type fragColor | fragment_out (1, Type::VEC4, "fragRevealage") .fragment_source("gpencil_mask_invert_frag.glsl") .additional_info("draw_fullscreen") |
| |
|
| smooth(Type::VEC2, "uvs") .smooth(Type | define ("SMAA_GLSL_3") .define("SMAA_RT_METRICS" |
| |
| smooth(Type::VEC2, "uvs") .smooth(Type viewportMetrics | define ("SMAA_PRESET_HIGH") .define("SMAA_LUMA_WEIGHT" |
| |
| smooth(Type::VEC2, "uvs") .smooth(Type viewportMetrics float4(lumaWeight, lumaWeight, lumaWeight, 0.0)") .define("SMAA_NO_DISCARD") .vertex_out(gpencil_antialiasing_iface) .push_constant(Type | define ("SMAA_STAGE", "0") .sampler(0 |
| |
| smooth(Type::VEC2, "uvs") .smooth(Type viewportMetrics float4(lumaWeight, lumaWeight, lumaWeight, 0.0)") .define("SMAA_NO_DISCARD") .vertex_out(gpencil_antialiasing_iface) .push_constant(Type colorTex | sampler (1, ImageType::FLOAT_2D, "revealTex") .fragment_out(0 |
| |
| smooth(Type::VEC2, "uvs") .smooth(Type viewportMetrics float4(lumaWeight, lumaWeight, lumaWeight, 0.0)") .define("SMAA_NO_DISCARD") .vertex_out(gpencil_antialiasing_iface) .push_constant(Type colorTex out_edges | additional_info ("gpencil_antialiasing") .do_static_compilation(true) |
| |
| | define ("SMAA_STAGE", "1") .sampler(0 |
| |
| edgesTex | sampler (1, ImageType::FLOAT_2D, "areaTex") .sampler(2 |
| |
| edgesTex searchTex | fragment_out (0, Type::VEC4, "out_weights") .additional_info("gpencil_antialiasing") .do_static_compilation(true) |
| |
| | define ("SMAA_STAGE", "2") .sampler(0 |
| |
|
| smooth(Type::VEC4, "color_mul") .smooth(Type flat(Type::VEC2, "aspect") .flat(Type no_perspective(Type::VEC2, "thickness") .no_perspective(Type gpFillTexture gpSceneDepthTexture | gpMaterial |
| |
| smooth(Type::VEC4, "color_mul") .smooth(Type flat(Type::VEC2, "aspect") .flat(Type no_perspective(Type::VEC2, "thickness") .no_perspective(Type gpFillTexture gpSceneDepthTexture | gp_materials [GPENCIL_MATERIAL_BUFFER_LEN] |
| |
| smooth(Type::VEC4, "color_mul") .smooth(Type flat(Type::VEC2, "aspect") .flat(Type no_perspective(Type::VEC2, "thickness") .no_perspective(Type | do_static_compilation (true) .define("GP_LIGHT") .typedef_source("gpencil_defines.h") .sampler(2 |
| |
| smooth(Type::VEC4, "color_mul") .smooth(Type flat(Type::VEC2, "aspect") .flat(Type no_perspective(Type::VEC2, "thickness") .no_perspective(Type gpFillTexture | sampler (3, ImageType::FLOAT_2D, "gpStrokeTexture") .sampler(4 |
| |
| smooth(Type::VEC4, "color_mul") .smooth(Type flat(Type::VEC2, "aspect") .flat(Type no_perspective(Type::VEC2, "thickness") .no_perspective(Type gpFillTexture gpSceneDepthTexture | sampler (5, ImageType::FLOAT_2D, "gpMaskTexture") .uniform_buf(4 |
| |