|
Blender V5.3
|
#include "eevee_nodetree_frag_lib.bsl.hh"#include "eevee_sampling_lib.bsl.hh"#include "eevee_shadow_shared.hh"#include "eevee_shadow_tilemap_lib.bsl.hh"#include "eevee_surf_common.bsl.hh"Go to the source code of this file.
Classes | |
| struct | eevee::SurfShadow |
Namespaces | |
| namespace | eevee |
Functions | |
| float4 | closure_to_rgba_shadow (KernelGlobals &kg, ShadingData &sd, Closure) |
| void | eevee::surf_shadow (KernelGlobals &kg, PipelineConstants &pipe, SurfShadow &srt, const Uniform &uni, const draw::View &views, const Sampling &sampling, const UtilityTexture &, const VertOutCommon &interp, const VertOutShadow &shadow_iface, const VertOutShadowClipping &shadow_clip, const VertOutCurves &curves_interp, const VertOutPointcloud &ptcloud_interp, const VertOutGSplat &gsplat_interp, const float3 bary_co, const bool front_face, const float4 frag_co) |
| float4 closure_to_rgba_shadow | ( | KernelGlobals & | kg, |
| ShadingData & | sd, | ||
| Closure | ) |
Virtual Shadow map output.
Meshes are rasterize onto an empty frame-buffer. Each generated fragment then checks which virtual page it is supposed to go and load the physical page address. If a physical page exists, we then use atomicMin to mimic a less-than depth test and write to the destination texel.
Definition at line 22 of file eevee_surf_shadow.bsl.hh.
References average(), Closure, closure_to_rgba_shadow(), closure_weights_reset(), saturate, and ShadingData::transmittance.
Referenced by closure_to_rgba_shadow().