|
Blender V5.3
|
#include "eevee_lightprobe_shared.hh"#include "eevee_nodetree_frag_lib.bsl.hh"#include "eevee_surf_common.bsl.hh"#include "gpu_shader_math_vector.bsl.hh"Go to the source code of this file.
Classes | |
| struct | eevee::SurfaceCapture |
Namespaces | |
| namespace | eevee |
Functions | |
| float4 | closure_to_rgba_capture (KernelGlobals &kg, ShadingData &sd, Closure) |
| void | eevee::surf_capture (KernelGlobals &kg, PipelineConstants &pipe, SurfaceCapture &srt, const Uniform &uni, const draw::View &views, const UtilityTexture &, const VertOutCommon &interp, const VertOutCurves &curves_interp, const VertOutPointcloud &ptcloud_interp, const float3 bary_co, const float4 frag_co, const bool front_face) |
| float4 closure_to_rgba_capture | ( | KernelGlobals & | kg, |
| ShadingData & | sd, | ||
| Closure | ) |
Surface Capture: Output surface parameters to diverse storage.
This is a separate shader to allow custom closure behavior and avoid putting more complexity into other surface shaders.
Definition at line 18 of file eevee_surf_capture.bsl.hh.
References average(), Closure, closure_to_rgba_capture(), closure_weights_reset(), saturate, and ShadingData::transmittance.
Referenced by closure_to_rgba_capture().