Blender V5.3
workbench_shadow.bsl.hh File Reference
#include "draw_model.bsl.hh"
#include "draw_view.bsl.hh"
#include "gpu_shader_attribute_load_lib.glsl"
#include "gpu_shader_index_load.bsl.hh"
#include "gpu_shader_math_vector.bsl.hh"
#include "workbench_shader_shared.hh"

Go to the source code of this file.

Classes

struct  workbench::shadow::VertIn
struct  workbench::shadow::VertOut
struct  workbench::shadow::GeomOut
struct  workbench::shadow::Constants
struct  workbench::shadow::Resources
struct  workbench::shadow::GeometryShaderEmulator
struct  workbench::shadow::FragOut

Namespaces

namespace  workbench
namespace  workbench::shadow

Functions

void workbench::shadow::vert_main (const Resources &srt, const draw::Resource &res, const int vert_id, const int inst_index, float4 &out_position)
void workbench::shadow::vert_main_caps (const Resources &srt, const draw::Resource &res, const int vert_id, const int inst_index, float4 &out_position)
void workbench::shadow::frag_main ()
void workbench::shadow::frag_debug (const Resources &srt, const bool front_facing, FragOut &frag_out)

Variables

PipelineGraphic workbench::shadow::pass_manifold_no_caps (vert_main, frag_main, Constants{.double_manifold=false,.shadow_pass=true})
PipelineGraphic workbench::shadow::pass_no_manifold_no_caps (vert_main, frag_main, Constants{.double_manifold=true,.shadow_pass=true})
PipelineGraphic workbench::shadow::fail_manifold_caps (vert_main_caps, frag_main, Constants{.double_manifold=false,.shadow_pass=false})
PipelineGraphic workbench::shadow::fail_manifold_no_caps (vert_main, frag_main, Constants{.double_manifold=false,.shadow_pass=false})
PipelineGraphic workbench::shadow::fail_no_manifold_caps (vert_main_caps, frag_main, Constants{.double_manifold=true,.shadow_pass=false})
PipelineGraphic workbench::shadow::fail_no_manifold_no_caps (vert_main, frag_main, Constants{.double_manifold=true,.shadow_pass=false})
PipelineGraphic workbench::shadow::pass_manifold_no_caps_debug (vert_main, frag_debug, Constants{.double_manifold=false,.shadow_pass=true})
PipelineGraphic workbench::shadow::pass_no_manifold_no_caps_debug (vert_main, frag_debug, Constants{.double_manifold=true,.shadow_pass=true})
PipelineGraphic workbench::shadow::fail_manifold_caps_debug (vert_main_caps, frag_debug, Constants{.double_manifold=false,.shadow_pass=false})
PipelineGraphic workbench::shadow::fail_manifold_no_caps_debug (vert_main, frag_debug, Constants{.double_manifold=false,.shadow_pass=false})
PipelineGraphic workbench::shadow::fail_no_manifold_caps_debug (vert_main_caps, frag_debug, Constants{.double_manifold=true,.shadow_pass=false})
PipelineGraphic workbench::shadow::fail_no_manifold_no_caps_debug (vert_main, frag_debug, Constants{.double_manifold=true,.shadow_pass=false})