Fixed the bug from shader gui drawer : [Worker0] Failed to create MaterialEnum, enum UnityEditor.Rendering.HighDefinition.TransparentCullMode not found;

Fixed the bug that outline does not rendering when material type is set to transparent;
Fixed the bug that hair shadow buffer does not rendering the object that material type is set to transparent;
This commit is contained in:
Misaki
2024-11-19 00:26:28 +09:00
parent 1b47306585
commit 52469649de
12 changed files with 10 additions and 198 deletions

View File

@@ -972,9 +972,6 @@ void Frag(PackedVaryingsToPS packedInput,
// _EyeBrowBlendingFactor
outColor.a = _EyeBrowBlendingFactor;
outColor.a = hairPixel > 0.01 ? outColor.a : 1 ;
//outColor.rgb = float3(hDepth.rg * 5,0);
#endif
#if defined(UTS_DEBUG_SHADOWMAP) || defined(UTS_DEBUG_SELFSHADOW)