Blender V5.3
gpu_shader_material_mix_shader.bsl.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2019-2022 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
8
9[[node]]
10void node_mix_shader(float fac, Closure shader1, Closure shader2, Closure &shader)
11{
12 shader = closure_mix(shader1, shader2, fac);
13}
Closure closure_mix(Closure, Closure, float)
void node_mix_shader(float fac, Closure shader1, Closure shader2, Closure &shader)