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

overlay_facing_info.hh « infos « shaders « overlay « engines « draw « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6d528bbba62d59190bf8c992e3b16d108df87fd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0-or-later */

#include "gpu_shader_create_info.hh"

GPU_SHADER_CREATE_INFO(overlay_facing)
    .do_static_compilation(true)
    .vertex_in(0, Type::VEC3, "pos")
    .vertex_source("overlay_facing_vert.glsl")
    .fragment_source("overlay_facing_frag.glsl")
    .fragment_out(0, Type::VEC4, "fragColor")
    .additional_info("draw_mesh", "draw_globals");

GPU_SHADER_CREATE_INFO(overlay_facing_clipped)
    .do_static_compilation(true)
    .additional_info("overlay_facing", "drw_clipped");