Blender
V5.3
source
blender
gpu
shaders
material
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
7
#include "
gpu_shader_material_interface.bsl.hh
"
8
9
[[
node
]]
10
void
node_shadow_raycast
(
const
float
light_index,
11
float3
position
,
12
float
softness,
13
[[
resource_table
]]
KernelGlobals
&kg,
14
const
ShadingData
&sd,
15
float4
&color)
16
{
17
node_shadow_raycast_impl
(kg, sd,
int
(light_index),
position
, softness, color);
18
}
node_shadow_raycast_impl
void node_shadow_raycast_impl(KernelGlobals &kg, const ShadingData &sd, const int light_index, float3 position, float softness, float4 &color)
Definition
eevee_nodetree_lib.bsl.hh:1203
position
#define position
Definition
gpu_shader_cxx_attribute.hh:63
resource_table
#define resource_table
Definition
gpu_shader_cxx_attribute.hh:128
node
#define node
Definition
gpu_shader_cxx_attribute.hh:142
gpu_shader_material_interface.bsl.hh
node_shadow_raycast
void node_shadow_raycast(const float light_index, float3 position, float softness, KernelGlobals &kg, const ShadingData &sd, float4 &color)
Definition
gpu_shader_material_shadow_raycast.bsl.hh:10
KernelGlobals
Definition
eevee_nodetree_lib.bsl.hh:141
ShadingData
Definition
eevee_nodetree_lib.bsl.hh:56
float3
Definition
sky_math.h:135
float4
Definition
sky_math.h:224
Generated on
for Blender by
doxygen
1.18.0