Blender V5.3
gpu_shader_material_vertex_color.bsl.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2019 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
8
9[[node]]
10void node_vertex_color(float4 vertex_color, float4 &out_color, float &out_alpha)
11{
12 out_color = vertex_color;
13 out_alpha = vertex_color.a;
14}
void node_vertex_color(float4 vertex_color, float4 &out_color, float &out_alpha)