Blender V5.3
eevee_surf_deferred.bsl.hh File Reference

Go to the source code of this file.

Classes

struct  eevee::SurfaceDeferred
struct  eevee::DeferredFragOut

Namespaces

namespace  eevee

Functions

float4 closure_to_rgba (KernelGlobals &kg, ShadingData &sd, Closure)
void eevee::surf_deferred (KernelGlobals &kg, PipelineConstants &pipe, SurfaceDeferred &srt, gbuffer::PackParameters &gbuf_params, RenderPassOutput &render_passes, CryptomatteOutput &cryptomatte, const draw::Infos &infos, const draw::View &views, const Uniform &uni, const Sampling &sampling, const UtilityTexture &util_tx, const VertOutCommon &interp, const VertOutCurves &curves_interp, const VertOutPointcloud &ptcloud_interp, const float4 frag_co, const float3 bary_co, DeferredFragOut &frag_out, const bool front_face)

Function Documentation

◆ closure_to_rgba()

float4 closure_to_rgba ( KernelGlobals & kg,
ShadingData & sd,
Closure cl )

Deferred lighting evaluation: Lighting is evaluated in a separate pass.

Outputs shading parameter per pixel using a randomized set of BSDFs. Some render-pass are written during this pass.

Definition at line 20 of file eevee_surf_deferred.bsl.hh.