由於texturealtas 原因,採樣到鄰邊的texture,導致顯示seam。解決方案三種:
1、人爲的在atlas邊緣填充顏色,每個texuture border都添加。
2、uv縮小offset(如offset=0.01f),原理同1
3、shader自己寫多重採樣,
ref: https://www.reddit.com/r/Unity3D/comments/3egtc6/seams_on_procedurally_generated_tiled_mesh/
ref: http://www.dfworkshop.net/improved-terrain-tiling/
ref:https://0fps.net/2013/07/09/texture-atlases-wrapping-and-mip-mapping/
部分閃點如:
可開啓抗鋸齒消除。