I created texture in Blender and import it to Unity. In Blender everything looks good as well as in the Unity editor and in the game mod in Unity.
enter image description here
我在搅拌机中创建了纹理,并将其导入到Unity中。在搅拌机中,一切看起来都很好,就像在单位的编辑器和游戏模式中一样。在此处输入图像描述
But after building the apk file and lunching on the mobile devices (I've tried different types), some parts of the texture look like this
enter image description here
但在构建了apk文件并在移动设备(我尝试了不同的类型)上午餐后,纹理的一些部分看起来像这样在这里输入图像描述
This is my first game, so I don't even know how to properly describe what it is, sorry.
Could you please help me solve this problem?
这是我的第一场比赛,所以我甚至不知道如何恰当地描述这是什么,抱歉。你能帮我解决这个问题吗?
I've tried changing the quality settings in Unity and used different types of shaders and material settings. I use the core 3d mobile template for my game. I didn't use any types of rendering pipelines. I tried to make this texture static.
It looks like I missed something basic, but I don't understand what exactly...
I also noticed a pattern, straight parts of the road look good, but it changes on corners or near corners.
我已经尝试在Unity中更改质量设置,并使用不同类型的着色器和材质设置。我在游戏中使用了核心的3D移动模板。我没有使用任何类型的渲染管道。我试图使这种纹理成为静态的。看起来我错过了一些基本的东西,但我不明白到底是什么.我还注意到了一种模式,道路的笔直部分看起来很好,但在拐角或靠近拐角的地方会发生变化。
UPDATE
更新
I've found the solution to my problem.
The problem was when I added an image to my road in Blender. My road consisted of many faces and I unwraped all the faces to the UV Editing tab in Blender. This was my mistake because I had too many faces. To resolve the problem, I split all the faces into three equal parts and added an image to the road for each part.
Also, note that this problem only affected the mobile version of my game!
我已经找到了解决我问题的办法。问题是当我在Blder中添加一个图像到我的道路上时。我的道路由许多脸组成,我将所有的脸都解开到搅拌机的UV编辑选项卡中。这是我的错误,因为我的脸太多了。为了解决这个问题,我将所有的脸分割成三个相等的部分,并为每个部分在道路上添加了一张图像。另外,请注意,这个问题只影响了我的移动版本的游戏!
更多回答
do those bits use a different shader? it could also be the devices dont support erntirely what is in teh shader
这些比特是否使用不同的着色器?也可能是设备不支持着色器中的内容
@BugFinder No, the shaders are the same. Also, the straight parts of the road look well.
@BugFinder否,着色器相同。此外,这条路的笔直部分看起来也很好。
优秀答案推荐
I've found the solution to my problem. The problem was when I added an image to my road in Blender. My road consisted of many faces and I unwraped all the faces to the UV Editing tab in Blender. This was my mistake because I had too many faces. To resolve the problem, I split all the faces into three equal parts and added an image to the road for each part. Also, note that this problem only affected the mobile version of my game!
我已经找到了解决我问题的办法。问题是当我在Blder中添加一个图像到我的道路上时。我的道路由许多脸组成,我将所有的脸都解开到搅拌机的UV编辑选项卡中。这是我的错误,因为我的脸太多了。为了解决这个问题,我将所有的脸分割成三个相等的部分,并为每个部分在道路上添加了一张图像。另外,请注意,这个问题只影响了我的移动版本的游戏!
更多回答
我是一名优秀的程序员,十分优秀!