News
所以Unity采用的方式是模型导入Unity后会统一生成相同的UV2,每个Rnederer组件需要制定Lightmap的贴图ID以及Vector4偏移量,这个偏移量需要传入shader中,GPU中根据UV2加上偏移量后再去Lightmap中采样颜色。
Contribute to lkihk/Unity-Offical-ECS-EntityComponentSystemSamples development by creating an account on GitHub.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results