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
This commit is contained in:
SmileTheory committed 2013-04-02 00:17:24 -07:00
1 parent 66acde6d60
commit 28e14c4546
8 files changed
+195 -306

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ void main()
vec4 shadowpos = u_ShadowMvp * biasPos;
#if defined(USE_SHADOW_CASCADE)
const float fadeTo = 0.5;
const float fadeTo = 1.0;
result = fadeTo;
#else
result = 0.0;