Blender V5.3
gpu_shader_material_shadow_raycast.bsl.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2026 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
8
9[[node]]
10void node_shadow_raycast(const float light_index,
12 float softness,
14 const ShadingData &sd,
15 float4 &color)
16{
17 node_shadow_raycast_impl(kg, sd, int(light_index), position, softness, color);
18}
void node_shadow_raycast_impl(KernelGlobals &kg, const ShadingData &sd, const int light_index, float3 position, float softness, float4 &color)
#define position
#define resource_table
void node_shadow_raycast(const float light_index, float3 position, float softness, KernelGlobals &kg, const ShadingData &sd, float4 &color)