|
Blender V4.3
|
#include "BKE_object.hh"#include "DRW_render.hh"#include "GPU_compute.hh"#include "workbench_private.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::workbench |
Macros | |
| #define | DEBUG_CULLING 0 |
Shadow:
Use stencil shadow buffer to cast a sharp shadow over opaque surfaces.
After the main pre-pass we render shadow volumes using custom depth & stencil states to set the stencil of shadowed area to anything but 0.
Then the shading pass will shade the areas with stencil not equal 0 differently.
Definition in file workbench_shadow.cc.
| #define DEBUG_CULLING 0 |