Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
你好,有谁知道为什么我的纹理没有显示出来吗?这是我第一次使用 Unity URP,我尝试为我的飞机添加纹理。那行得通,但结果令人困惑..
textureRenderer.sharedMaterial.SetTexture("_MainTex", texture);
我将纹理添加到材料中,它在检查器中似乎正确。
还有一点是,我只有放大很多才能看到结果。
谢谢!
解决方案是通过 Window->Rendering->Lighting->Enviroment->Fog 取消选中雾