Eevee: Add Cascaded Shadow Map options.

This commit is contained in:
2017-09-07 15:31:11 +02:00
parent cc6e97d426
commit adeaf37e77
10 changed files with 202 additions and 72 deletions

View File

@@ -223,7 +223,8 @@ typedef struct EEVEE_ShadowCube {
typedef struct EEVEE_ShadowCascade {
float shadowmat[MAX_CASCADE_NUM][4][4]; /* World->Lamp->NDC->Tex : used for sampling the shadow map. */
float split[4];
float split_start[4];
float split_end[4];
} EEVEE_ShadowCascade;
typedef struct EEVEE_ShadowRender {