zwcloud / MeshTerrainEditor-issues

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

"MTE/URP/4 Textures" shaders doesn't support smoothness texture #234

Closed zwcloud closed 2 years ago

zwcloud commented 2 years ago

This should be supported, especially when converting a Unity terrain with a layer using a mask map.

zwcloud commented 2 years ago

I just forgot that it is supported. To use it: image

  1. Enable smoothness texture at the bottom of shader UI at ①.
  2. Assign layer smoothness texture at ② and click the refresh button at ③
  3. Smoothness texture with be merge with the albedo texture: RGB = Albedo, A = Smooth. And the merged texture (Albedo&Smoothness) will be used in shader: smoothness will be sampled and blended and finally sent to smoothness output. image