Roughness in Photoshop to achieve the texture map into Metalic Alpha channel

Ten thousand years later, I finally came back to blog it

  Fu teacher's look at the recent Unity tutorial, 10p see the first time, there is a place about a map Material that can be set, there is one called Roughness (record Material roughness maps), it is not specific in Unity the option to set this map, is the only close Smoothness properties. Smoothness property but can not set up the map.

  This is because in Unity, when the Shader Material to Standard time, and it will now Metalic Roughness two maps into one file using this design is said to be in order to save resources.

  Smoothness value is the grayscale value to be placed in the Alpha channel. Unity can also set Albedo Roughness and two maps together to use, but sometimes Albedo also comes with a number of transparency of information, we usually are and will Metalic Roughness used in combination.

  We can set the Smoothness slider below the Source property is Albedo Roughness and bindings use or Metalic and Roughness binding uses:

   Fu teacher synthetic picture of it with a free open-source GIMP, and Photoshop stuff but a ratio of people using Photoshop or a little more. Although the GIMP for free, but we use most of Photoshop's own use are cracked version Well (

Then I try to restore Fu teacher in Photoshop operation. Just do not know how to paste the picture into the mask layer, on the cards for a long time. Then finally he found the right keywords in here to find the answer. Here I will complete the process of finishing it I write.

  1, first Roughness file anti-color processing. Menu bar Image → Adjustments → Invert (shortcut Ctrl + I)

   After image processing is such that:

   2. Create a new PSD, the same size ratio and Roughness. If one does not know the specific ratio can select the currently open file size ratio in the preset

    3. How do we determine a good scene Metalic effect. If you do not Metalic effect, then the full RGB value is 0, that is, pure black. We put a layer coated with a paint bucket becomes black:

   4. Create a layer mask, there are a variety of ways, here introduces a, with the way you used to own just fine. The menu bar Layer → Layer Mask → Show all

   We thus created is a pixel mask, the mask can be selected after the tab is not visible pixel mask layer is not:

    5, switch to the mask editing mode (which I do not know how to call, you can copy and paste something onto the mask), hold down Alt, then click the Mask:

  See the white on the right, because now the mask is white.

  6, Roughness copy and paste it here:

  7. Finally, you can save it as a PNG file formats.

  Before setting this Metalic, this material effect:

   Settings:

   It can be adjusted by increasing the contrast of light and the effect of the roughness, the higher the smoother. The following effect is that I set brightness and contrast, increase the effect of the 100:

 


 

References:

Bilibili -  [Fu teacher / Unity teaching] Basics Unity3D - P10 UnityBasics - 10 - the Add Floor: https://www.bilibili.com/video/av57479723/?p=10

Baidu Encyclopedia - how to paste the contents of a PS layer to another layer mask: https://zhidao.baidu.com/question/693615458948716964.html

 

Guess you like

Origin www.cnblogs.com/cwsb/p/11605300.html