zwcloud / MeshTerrainEditor-issues

Mesh Terrain Editor issue tracking and online docs
https://zwcloud.github.io/MeshTerrainEditor-issues/
5 stars 3 forks source link

URP fog on a mesh-terrain is different from Unity terrain #229

Closed zwcloud closed 2 years ago

zwcloud commented 2 years ago

reported by user 地编-馒头Q25xxxx38 image image

zwcloud commented 2 years ago

Cannot repo, waiting for more information from the reporter.

zwcloud commented 2 years ago

This is probably caused by that the mesh's vertex density is different with the current mesh LOD of the original Unity terrain. If you seeing similar issue, please try increate/decrease the mesh-terrain's vertex number.

Here is a video displaying comparsion of mesh-terrain fog and Unity terrain fog under same mesh LOD0 (same vertex density): https://user-images.githubusercontent.com/6965758/171832623-08247d1f-ad8e-44b0-b09f-658ae3baad8e.mp4

MTE's shader fog is defined by Amplify Shader Editor, which just use the built-in fog color provided by Unity. So in theory there should be no difference.