码迷,mamicode.com
首页 > 其他好文 > 详细

Inconsistant light map between PC and Mobile

时间:2014-08-07 23:02:05      阅读:337      评论:0      收藏:0      [点我收藏+]

标签:android   style   blog   http   color   os   io   strong   

Author: http://www.cnblogs.com/open-coder/p/3898159.html

The light mapping effects between PC and Mobile become very incosistant just as following:

bubuko.com,布布扣 bubuko.com,布布扣

With the same light maps, the left one is the Android Platform, and the right one is the PC Platform. But the right one is much brigher than the left one.
Why? ????????????
Let check the Unity3D light map decode function:
bubuko.com,布布扣
The reason is that the light map encode use High dynamic range encode. The range on the PC is [0, 8], but the range on the Mobile will only in [0, 2].
That means the when you switch the platform from PC to Android, the light map color range will clamp to [0, 2] no matter what value it is.
And the best way to keep light map consistant on PC and Android is keep the light map color range in [0, 2].
Sometimes, we would like to multiply the light map color with a factor. I strongly suggest that please make sure this factor larger than 1.0 (Only bright is instead of darker it).

Inconsistant light map between PC and Mobile,布布扣,bubuko.com

Inconsistant light map between PC and Mobile

标签:android   style   blog   http   color   os   io   strong   

原文地址:http://www.cnblogs.com/open-coder/p/3898159.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!