diff options
author | SmileTheory <SmileTheory@gmail.com> | 2013-04-02 00:17:24 -0700 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-05-03 16:07:36 +0100 |
commit | 4bc0dc5594ae2744090d27a5cea10a4f8e8b928d (patch) | |
tree | 21359a5f8bc6b503a3ec4d6f24602aba07631492 /src/renderergl2/tr_local.h | |
parent | 3866046f497068d518fcb48ae9ba94c0bc7a0a72 (diff) |
Add sunlight/lightmap merging by multiply (r_sunlightMode 1) Merge additive sunlight and map lighting into one GLSL shader (r_sunlightMode 2) Change single lightmap blends to use lightall
Diffstat (limited to 'src/renderergl2/tr_local.h')
-rw-r--r-- | src/renderergl2/tr_local.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/renderergl2/tr_local.h b/src/renderergl2/tr_local.h index c550ca18..96f657e4 100644 --- a/src/renderergl2/tr_local.h +++ b/src/renderergl2/tr_local.h @@ -791,6 +791,11 @@ typedef enum UNIFORM_AUTOEXPOSUREMINMAX, UNIFORM_TONEMINAVGMAXLINEAR, + UNIFORM_PRIMARYLIGHTORIGIN, + UNIFORM_PRIMARYLIGHTCOLOR, + UNIFORM_PRIMARYLIGHTAMBIENT, + UNIFORM_PRIMARYLIGHTRADIUS, + UNIFORM_COUNT } uniform_t; @@ -1972,6 +1977,7 @@ extern cvar_t *r_forceSun; extern cvar_t *r_forceSunMapLightScale; extern cvar_t *r_forceSunLightScale; extern cvar_t *r_forceSunAmbientScale; +extern cvar_t *r_sunlightMode; extern cvar_t *r_drawSunRays; extern cvar_t *r_sunShadows; extern cvar_t *r_shadowFilter; |