当前位置:网站首页>Unity uses skybox panoramic shader to make panorama preview. There is a gap. Solution

Unity uses skybox panoramic shader to make panorama preview. There is a gap. Solution

2022-06-26 14:45:00 Shi Yao Bu Ru

problem

 Insert picture description here

Questions are like questions , I thought it was a drawing problem , As a result, it took a long time , The pot is still on its own , It's hard ! It is hereby recorded that .
Problem details :

 Insert picture description here

Tried various settings for shaders , All invalid , And the panorama is dynamically loaded with scripts to assign values to material Time no problem ,
Many people in Baidu said to modify the attributes of sky box pictures :advanced->wrap mode->clamp
 Insert picture description here

It's also useless ( The version may be inconsistent , And they are cube The way ).

terms of settlement

It's through Cancel Check advanced->generate mip maps Solved the problem :

 Insert picture description here

After normal :

 Insert picture description here

原网站

版权声明
本文为[Shi Yao Bu Ru]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206261357514852.html