Converting a shader to the high definition render pipeline

I have been looking into the new high definition render pipeline, but my current custom shaders have stopped working when I actived it.

I have been looking for resources on how to update default render pipeline shaders to the high def render pipeline, but I couldn’t find it anywhere. Are there any resources available on how to make custom shaders work again on the high def render pipleline?

I have the same issue. Every material having a custom shader gets rendered in pink.

Hi!

SubShader
    {
        Tags { "RenderType" = "Opaque" "RenderPipeline" = "LightweightPipeline" "IgnoreProjector" = "True"}

Settin the “RenderPipeline” to whatever you’re using to indicate that it’s compatible with this pipeline is a good first step :slight_smile:

2 Likes

Using Eye Advanced, but setting the RenderPipeline to HDRenderPipeline does not work.

Try to use
“RenderPipeline” = “LWRP”
instead of
“RenderPipeline” = “LightweightPipeline”

in

SubShader
    {
        Tags { "RenderType" = "Opaque" "RenderPipeline" = "LWRP" "IgnoreProjector" = "True"}

Worked for me.

If you use High Definition Render Pipeline then replace LWRP with HDRP (didn’t test this on high definition though)

1 Like

Where is this? Opening the pink custom shader with notepad?