Blender V5.3
gpu_shader_material_light_falloff.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]]
11 float strength, float /*tsmooth*/, float &quadratic, float &linear, float &falloff_constant)
12{
13 quadratic = strength;
14 linear = strength;
15 falloff_constant = strength;
16}
void node_light_falloff(float strength, float, float &quadratic, float &linear, float &falloff_constant)