unity 实时间接光照 解决方案

https://www.youtube.com/watch?v=D7LjsabD4V4

这个很强 他runtime bake lightprobe 之后走assetbundle加载

Place Probe

Bake Probe Data

Store Data for Each Vertex (texture)

Load stored Data at Runtime(vertexID vertexshader load)

Use data in shaders

 用lightmapST和lightmap存了上面两个数据

把sh的作为ambinet值 ---间接光照

 

很可惜 是个pc解决方案

posted on 2019-01-02 15:14  minggoddess  阅读(1948)  评论(0)    收藏  举报