forked from BilalY/Rasagar
2.7 KiB
2.7 KiB
title |
---|
nodes-sample-mip-bias-sample-mode-table.md |
Name | Type | Description | |
---|---|---|---|
Use Global Mip Bias | Toggle | Enable Use Global Mip Bias to use the render pipeline's Global Mip Bias. This bias adjusts the percentage of texture information taken from a specific mip when sampling. For more information on mip bias, see Mipmaps introduction in the Unity User Manual. | |
Enabled | Shader Graph uses the render pipeline's Global Mip Bias to adjust the texture information taken when sampling. | ||
Disabled | Shader Graph doesn't use the render pipeline's Global Mip Bias to adjust texture information when sampling. | ||
Mip Sampling Mode | Dropdown | Choose the sampling mode to use to calculate the mip level of the texture. | |
Standard | The render pipeline calculates and automatically selects the mip for the texture. | ||
LOD | The render pipeline lets you set an explicit mip for the texture on the node. The texture will always use this mip, regardless of the DDX or DDY calculations between pixels. Set the Mip Sampling Mode to LOD to connect the node to a Block node in the Vertex Context. For more information on Block nodes and Contexts, see Master Stack. | ||
Gradient | The render pipeline lets you set the DDX and DDY values to use for its mip calculation, instead of using the values calculated from the texture's UV coordinates. For more information on DDX and DDY values, see Mipmaps introduction in the User Manual. | ||
Bias | The render pipeline lets you set a bias to adjust the calculated mip for a texture up or down. Negative values bias the mip to a higher resolution. Positive values bias the mip to a lower resolution. The render pipeline can add this value to the value of the Global Mip Bias, or use this value instead of its Global Mip Bias. For more information on mip bias, see Mipmaps introduction in the User Manual. |