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:
@@ -33,11 +33,8 @@ public class UTSOutlinePass : DrawRenderersCustomPass
|
||||
var result = new UnityEngine.Rendering.RendererUtils.RendererListDesc(outlineTag, ctx.cullingResults, ctx.hdCamera.camera)
|
||||
{
|
||||
rendererConfiguration = renderConfig,
|
||||
renderQueueRange = GetRenderQueueRange(renderQueueType),
|
||||
sortingCriteria = sortingCriteria,
|
||||
renderQueueRange = GetRenderQueueRange(RenderQueueType.All),
|
||||
excludeObjectMotionVectors = false,
|
||||
overrideMaterial = overrideMaterial,
|
||||
overrideMaterialPassIndex = (overrideMaterial != null) ? overrideMaterial.FindPass(overrideMaterialPassName) : 0,
|
||||
stateBlock = stateBlock,
|
||||
renderingLayerMask = renderingLayerMask,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user