OpenGL2: Set RGBM to use a multiplier of 1, and only use it with HDR lightmaps.
This commit is contained in:
parent
6beab9cf58
commit
79e9baedf8
3 changed files with 44 additions and 47 deletions
|
@ -21,7 +21,7 @@ void main()
|
|||
#if defined(USE_LIGHTMAP)
|
||||
vec4 color2 = texture2D(u_LightMap, var_LightTex);
|
||||
#if defined(RGBM_LIGHTMAP)
|
||||
color2.rgb *= 32.0 * color2.a;
|
||||
color2.rgb *= color2.a;
|
||||
color2.a = 1.0;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue