Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice

Hybrid Renderer V2 Shader Compatability

Discussion in 'Graphics for ECS' started by shotoutgames, May 25, 2022.

  1. shotoutgames

    shotoutgames

    Joined:
    Dec 29, 2013
    Posts:
    290
    I have been trying to use different assets that have shaders that don't support Hybrid Renderer V2.
    The latest is Dreamscape Nature Meadows. It is not supported so kind of understandably they can't assist me. In this case they hadn't ever even heard of Hybrid Renderer.
    Any chance there is a way to get this to work through some shader manipulation. They use the Amplify Shader editor for this asset but some other incompatible assets were with the Shadergraph.

    Thanks
    Hybrid Renderer V2 batch is using the shader "Polyart/Dreamscape Surface", but the shader is either not compatible with Hybrid Renderer V2, is missing the DOTS_INSTANCING_ON variant, or there is a problem with the DOTS_INSTANCING_ON variant.
     
  2. shotoutgames

    shotoutgames

    Joined:
    Dec 29, 2013
    Posts:
    290
    Only had to add to the shaders
    #pragma target 4.5
    #pragma multi_compile _ DOTS_INSTANCING_ON
     
    Occuros and JussiKnuuttila like this.