Welcome to mirror list, hosted at ThFree Co, Russian Federation.

workbench_transparent_resolve_info.hh « infos « shaders « workbench « engines « draw « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e5b7bc8e2a76df6eb459e9768e85b4056b304346 (plain)
1
2
3
4
5
6
7
8
9
10

#include "gpu_shader_create_info.hh"

GPU_SHADER_CREATE_INFO(workbench_transparent_resolve)
    .fragment_out(0, Type::VEC4, "fragColor")
    .sampler(0, ImageType::FLOAT_2D, "transparentAccum")
    .sampler(1, ImageType::FLOAT_2D, "transparentRevealage")
    .fragment_source("workbench_transparent_resolve_frag.glsl")
    .additional_info("draw_fullscreen")
    .do_static_compilation(true);