Transparent Materials: mudanças entre as edições
Ir para navegação
Ir para pesquisar
(Criou página com 'TriLib can handle transparent materials differently, so if your material is not loaded correctly, you could try changing your "AssetLoaderOptions" instance "AlphaMaterialMode"...') |
Sem resumo de edição |
||
Linha 8: | Linha 8: | ||
* CutoutAndTransparent:[[Arquivo:Cutout and Transparent Material Mode.png|nenhum|miniaturadaimagem|In "CutoutAndTransparent" alpha material mode, TriLib will create an extra mesh whenever an alpha texture/material is found. The underlying mesh will use a material with the "Transparent" Rendering Mode, and the overlying mesh will use the "Cutout" Rendering Mode.<br />This alpha material mode is suitable when your object is composed of textures that are partially transparent, but should cast shadows and be use depth test. <br />*You can control the ratio between what is considered opaque/transparent modifying the included TriLib materials.]] | * CutoutAndTransparent:[[Arquivo:Cutout and Transparent Material Mode.png|nenhum|miniaturadaimagem|In "CutoutAndTransparent" alpha material mode, TriLib will create an extra mesh whenever an alpha texture/material is found. The underlying mesh will use a material with the "Transparent" Rendering Mode, and the overlying mesh will use the "Cutout" Rendering Mode.<br />This alpha material mode is suitable when your object is composed of textures that are partially transparent, but should cast shadows and be use depth test. <br />*You can control the ratio between what is considered opaque/transparent modifying the included TriLib materials.]] | ||
<nowiki>*</nowiki>TriLib | <nowiki>*</nowiki>Included TriLib materials can be found in the following folders: | ||
* TriLib/Resources/Materials/Standard/Standard | * TriLib/Resources/Materials/Standard/Standard | ||
* TriLibHDRP/Resources/Materials/HDRP/Standard | * TriLibHDRP/Resources/Materials/HDRP/Standard | ||
* TriLibUniversalRP/Resources/Materials/UniversalRP/Standard | * TriLibUniversalRP/Resources/Materials/UniversalRP/Standard |
Edição das 17h12min de 1 de novembro de 2022
TriLib can handle transparent materials differently, so if your material is not loaded correctly, you could try changing your "AssetLoaderOptions" instance "AlphaMaterialMode" field.
There are three possible values for this field:
- Cutout:
- Transparent:
- CutoutAndTransparent:
*Included TriLib materials can be found in the following folders:
- TriLib/Resources/Materials/Standard/Standard
- TriLibHDRP/Resources/Materials/HDRP/Standard
- TriLibUniversalRP/Resources/Materials/UniversalRP/Standard