|
|
|
|
|
|
// directional |
|
|
|
#define SHADOW_DISPATCH_DIR_TEX 3 |
|
|
|
#define SHADOW_DISPATCH_DIR_SMP 0 |
|
|
|
#define SHADOW_DISPATCH_DIR_ALG GPUSHADOWALGORITHM_PCF_TENT_7X7 |
|
|
|
#define SHADOW_DISPATCH_DIR_ALG GPUSHADOWALGORITHM_PCF_TENT_5X5 |
|
|
|
// point |
|
|
|
#define SHADOW_DISPATCH_POINT_TEX 3 |
|
|
|
#define SHADOW_DISPATCH_POINT_SMP 0 |
|
|
|
|
|
|
//punctual |
|
|
|
#define SHADOW_DISPATCH_PUNC_TEX 3 |
|
|
|
#define SHADOW_DISPATCH_PUNC_SMP 0 |
|
|
|
#define SHADOW_DISPATCH_PUNC_ALG GPUSHADOWALGORITHM_PCF_TENT_7X7 |
|
|
|
#define SHADOW_DISPATCH_PUNC_ALG GPUSHADOWALGORITHM_PCF_9TAP |
|
|
|
|
|
|
|
// example of overriding directional lights |
|
|
|
#ifdef SHADOW_DISPATCH_USE_CUSTOM_DIRECTIONAL |
|
|
|