有人可以告诉我我的材质/着色器发生了什么情况吗?

huangapple go评论49阅读模式
英文:

Can somebody tell me what is going on with my materials/shaders?

问题

这是我第一次使用URP,并在将我的FBX模型导入Unity时,我注意到它们出现了这种奇怪的阴影效果,而且似乎越来越糟:

我面临的问题

另一个例子

这仅在场景视图中发生,当我打开预制以编辑它时,有时模型中的洞穴状凹陷(不确定如何描述,参见第二个图像)几乎完全被阴影覆盖。这是否与着色器有关?如果可以的话,请帮助我解决这个问题,让它在场景视图中更容易编辑,如果需要额外的信息,请告诉我,因为我甚至不确定要包括什么信息。

谢谢!

附言:我尝试将材质的着色器更改为标准着色器等,但我始终得到粉色的模型(请注意,我对模型和着色器不是很有经验)。

英文:

This is the first time I'm using the URP and, upon importing my own fbx models into Unity, I've noticed that they get this strange shadow-y look that only seems to be getting worse and worse:

Problem I'm facing

Another example

This only happens in scene view and it is extremely visible when, for instance, I open a prefab to edit it, sometimes to the extent that any cave-like insets (not sure how else to describe it, see second image) in my models are almost completely covered in shadows. Is this an issue with the shader ? Please do help me out if you can on how to remove this/make it better to the eye in the scene view so that it is easier to edit them, and let me know if you need additional info as I'm not even sure what to include here.

Thanks !

PS: I tried changing the shaders to, for example, Standard shader, of the materials, but I only kept getting pink-colored models (mind you, I'm not very experienced with models and shaders in general).

答案1

得分: 0

你正在使用后处理吗?

这看起来像后处理中的“环境光遮蔽”效果。

如果是这样,请将效果的“强度”值调低。

英文:

Are you using post-processing?

This looks like the Post-Processing "Ambient Occlusion" effect.

If so, tweak the effect "intensity" value lower.

huangapple
  • 本文由 发表于 2023年4月11日 00:01:50
  • 转载请务必保留本文链接:https://go.coder-hub.com/75978671.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定