OSDN Git Service

Added Assets for main menu
[mindgames/Mindgames_main.git] / Mindgames / Library / PackageCache / com.unity.render-pipelines.high-definition@6.9.0-preview / Documentation~ / MatCap.md
1 # MatCap mode
2
3 In MatCap mode, the High Definition Render Pipeline (HDRP) replaces the functionality of the Scene window's Lighting button with a material capture (MatCap) view. MatCap mode uses an image that completely captures a Material, including baked-in lighting. When using MatCap mode, HDRP replaces all of the Materials and lighting in the Scene with what is in the MatCap.
4
5 MatCap mode is particularly useful to navigate and get a sense of the Scene without setting up the Scene lighting. For example, if you were to edit a dark area, like the inside of a cave, it would be difficult to navigate with low lighting MatCap mode makes it much easier to navigate in such dark areas.
6
7 ## Using MatCap
8
9 To activate MatCap mode, disable the Lighting toggle in the Scene window.
10
11 ![](Images/MatCap1.png)
12
13 MatCap mode preserves the normal maps and you can use the original Material albedo. To configure MatCap mode, go to **Edit > Preferences > HD Render Pipeline** and use the following properties.
14
15 ## Properties
16
17 | **Property**                  | **Description**                                              |
18 | ----------------------------- | ------------------------------------------------------------ |
19 | **Mix Albedo in MatCap Mode** | Enable this checkbox to make HDRP mix the albedo of the Material with its material capture. |
20 | **MatCap Intensity Scale**    | Set the intensity of the material capture. This increases the brightness of the Scene. This is especially useful if the albedo darkens the Scene considerably. |
21
22 ## Default material captures
23
24 HDRP provides neutral and metallic default MatCaps. You can change the MatCap in your [HDRP Asset's](HDRP-Asset.html) **HDRenderPipelineResources**. To do this:
25
26 1. Select the HDRP Asset in the Project window to view it in the Inspector.
27 2. Go to the **General** section and double-click on the Asset assigned to the **Render Pipeline Resources** property to view that in the Inspector.
28 3. Go to the **Textures** section and assign your custom MatCap Texture to the **MatCap Tex** property.
29
30 You can also activate MatCap view as a **Lighting Debug Mode** in the [Render Pipeline Debugger](Render-Pipeline-Debug-Window.html).
31
32 ## MatCap examples
33
34 **MatCap off:**
35
36 ![](Images/MatCap2.png)
37
38 **MatCap on:**
39
40 ![](Images/MatCap3.png)
41
42 **MatCap on with albedo:**
43
44 ![](Images/MatCap4.png)