|
Blender V5.3
|
#include "eevee_attributes_world_lib.bsl.hh"#include "eevee_colorspace_lib.bsl.hh"#include "eevee_lightprobe.bsl.hh"#include "eevee_nodetree_frag_lib.bsl.hh"#include "eevee_pipeline.bsl.hh"#include "eevee_surf_common.bsl.hh"Go to the source code of this file.
Classes | |
| struct | eevee::SurfWorld |
| struct | eevee::SurfWorldFragOut |
Namespaces | |
| namespace | eevee |
Functions | |
| float4 | closure_to_rgba_world (KernelGlobals &kg, ShadingData &sd, Closure) |
| void | eevee::surf_world (KernelGlobals &kg, PipelineConstants &pipe, SurfWorld &srt, const LightprobeRenderData &lightprobes, RenderPassOutput &render_passes, const Uniform &uni, const draw::View &views, const float4 frag_co, const VertOutCommon &interp, SurfWorldFragOut &frag_out, const bool front_face) |
| float4 closure_to_rgba_world | ( | KernelGlobals & | kg, |
| ShadingData & | sd, | ||
| Closure | ) |
Background used to shade the world.
Outputs shading parameter per pixel using a set of randomized BSDFs.
Definition at line 19 of file eevee_surf_world.bsl.hh.
References average(), Closure, closure_to_rgba_world(), closure_weights_reset(), saturate, and ShadingData::transmittance.
Referenced by closure_to_rgba_world().