unity lightmap

indirect light /shadow /ao

 

light probe for dynamic 或者细小琐碎的物体

==========================

unity2018.3  的GI有两种

precompute GI

Baked GI

https://docs.unity3d.com/Manual/GIIntro.html

https://docs.unity3d.com/Manual/LightMode-Realtime.html

 https://docs.unity3d.com/Manual/UsingPrecomputedLighting.html 
 
 
 
precompute
是用enlighten做的 也需要烘焙 数据在lighting data 烘焙流程做了什么在链接里面 
简单说就是预先把indirect 涉及的cluster 算出来-----光路信息
标1的勾
用这个需要开realtime或者mix的light
 
bake GI就是lightmap那一套
标2的勾
这两者都需要设置合理参数以提升性能
 
以上两者都是对static 物体生效的
dynamic物体需要probe light 
 
precompute real time GI能做的事情是 对于静态物体受光 的间接光照影响 光的位置颜色等信息可变 material可变 这个很棒的
=====================
bake 时间
texel 发射光线 所有是以texel为单位
 
所以有一些策略 
低频变化的大块物体 就可以用很少的texel
 
surface with low variation  //scale in lightmap
surfaces which recieve indirect bounce light only
small objects
thin objects
surfaces hidden from the player
posted on 2018-06-28 20:48  minggoddess  阅读(233)  评论(0编辑  收藏  举报