You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
compiling using the builtin pipeline gives errors because of the subshaders for universal and HD render pipeline.
you can add PackageRequirements that way in PassesUniversal.hlsl and DearImGui-Procedural.shader to overcome the issue
// shader for HD render pipeline
SubShader
{
Tags { "RenderType" = "Transparent" "RenderPipeline" = "HDRenderPipeline" "PreviewType" = "Plane" }
LOD 100
Lighting Off
Cull Off ZWrite On ZTest Always
Blend SrcAlpha OneMinusSrcAlpha
Pass
{
PackageRequirements {
"com.unity.render-pipelines.high-definition"
}
Name "DEARIMGUI HDRP"
HLSLPROGRAM
#pragma vertex ImGuiPassVertex
#pragma fragment ImGuiPassFrag
#include "./PassesHD.hlsl"
ENDHLSL
}
}
The text was updated successfully, but these errors were encountered:
compiling using the builtin pipeline gives errors because of the subshaders for universal and HD render pipeline.
you can add
PackageRequirements
that way inPassesUniversal.hlsl
andDearImGui-Procedural.shader
to overcome the issueThe text was updated successfully, but these errors were encountered: