Search Issue Tracker
[TextureBlending] Sharp cut edges appear at the border of two overlapping textures painted on Terrain
Steps to repro:
1. Open Unity;
2. Open attached project and 'test' scene;
3. Select 'Terrain' gameobject in the Hierarchy view;
4. Click 'Edit Textures...' -> Add Texture';
5. Choose any tiling texture (in my case 'Grass(Lawn)';
6. Add another tiling texture (in my case, 'Sand(Beach);
7. Select second added texture in 'Paint Texture' brush tool;
8. Select any brush, not having sharp edges (e.g. first left brush in the list);
9. Increase Opacity to maximum value (100);
10. Increase Target Strength level to maximum value (1);
11. Paint second texture on top of first one in the scene view (just a spot should be good);
12. Select first added texture (Grass) in 'Paint Texture' brush tool;
13. Decrease Target Strength and Opacity level (50 and 0.5 would be good);
14. Paint first texture on top of the recently painted second texture.
Sharp cut edges appear at the border of two overlapping textures painted on Terrain, in case if overlapping texture is the initial one with decreased opacity and target strength. Also second texture area (having greater opacity and target strength) significantly increases in size.
See attached video and actual.png for clarity.
- Blended overlapping textures should always have smooth borders;
- Texture with greater opacity and target strength should not increase in size when overpainting it.
Workaround is to paint blended texturs with brushes having sharp edges.
- Reproducible in: 5.4.0b8, 5.3.3p2, 5.3.3f1;
- Reproducible on both OSX 10.11.3 and Windows 10;
- Not always reproducible for any tiled textures;
- Not reproduсible for brush having rough edges.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- Variable is set to a different value from the selected enum value in the Editor dropdown
- TreeView Child display toggle styling becomes reversed when clicking and dragging it
- Null is returned when using FocusOutEvent.relatedTarget
- Unity_BaseInstanceID is always zero when rendering multiple meshes and instancing with the same buffer
- UI Document button's text does not resize relatively when size in percentage (%) is used