|
Blender V5.3
|
#include "draw_view.bsl.hh"#include "eevee_forward_lib.bsl.hh"#include "eevee_nodetree_frag_lib.bsl.hh"#include "eevee_reverse_z_lib.bsl.hh"#include "eevee_sampling_lib.bsl.hh"#include "eevee_surf_common.bsl.hh"#include "eevee_volume_lib.bsl.hh"Go to the source code of this file.
Classes | |
| struct | eevee::SurfaceForwardFragOut |
Namespaces | |
| namespace | eevee |
Functions | |
| float4 | closure_to_rgba_forward (KernelGlobals &kg, ShadingData &sd, Closure) |
| void | eevee::surf_forward (KernelGlobals &kg, PipelineConstants &pipe, LightEvalIterator &, LightprobeRenderData &, LightprobePlaneRenderData &, const draw::View &views, const draw::Model &, const draw::Infos &, const UnifiedVolumeData &volumes, 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, SurfaceForwardFragOut &frag_out, const float3 bary_co, const bool front_face) |
| float4 closure_to_rgba_forward | ( | KernelGlobals & | kg, |
| ShadingData & | sd, | ||
| Closure | ) |
Forward lighting evaluation: Lighting is evaluated during the geometry rasterization.
This is used by alpha blended materials and materials using Shader to RGB nodes.
Definition at line 20 of file eevee_surf_forward.bsl.hh.
References average(), Closure, closure_to_rgba_forward(), closure_weights_reset(), UtilityTexture::fetch(), eevee::forward_lighting_eval(), fract(), ShadingData::frag_co, draw::View::get(), eevee::PreviousLayerHiZ::hiz_prev_tx, eevee::PipelineConstants::is_occupancy_pipe, KernelGlobals::lightprobes, eevee::LightprobeRenderData::load(), ShadingData::N, noise(), ShadingData::P, KernelGlobals::pipe, KernelGlobals::previous_layer_hiz, KernelGlobals::previous_layer_radiance, eevee::PreviousLayerRadiance::previous_layer_radiance_tx, ShadingData::resource_id_raw, resource_table, eevee::Sampling::rng_1D_get(), KernelGlobals::sampling, saturate, eevee::LightprobeRenderData::spheres, eevee::LightprobeSphereRenderData::spherical_sample_normalized_with_parallax(), static_branch, texelFetch(), texelFetchExtend(), ShadingData::thickness, eevee::PipelineConstants::use_forward_lighting, eevee::PipelineConstants::use_transparency, UTIL_BLUE_NOISE_LAYER, KernelGlobals::util_tx, V, KernelGlobals::view, ViewMatrices::world_incident_vector(), and float4::x.
Referenced by closure_to_rgba_forward().