Search Unity

  1. New Unity Live Help updates. Check them out here!

    Dismiss Notice

How to create Instance Shader that works with Texture atlas? Shader broken in HDRP.

Discussion in 'High Definition Render Pipeline' started by sunseeker1988, Mar 22, 2020.

  1. sunseeker1988


    Jul 10, 2014
    Not sure if I can use shader graph or what. I had a hacked together shader I wrote that allowed Instancing on instantiated prefabs that would set the texture based on a atlas with texture coordinates using Instanced Properties inside the shader. Any suggestions on how to use my texture atlas so when I create hundreds of these objects based on their type it will select the correct texture from the atlas in HDRP and allow me to have them instanced together?