Terrain Sample Asset Pack 2.0 - SG BiRP Lit doesn't support instancing

Hi there, I just imported the new terrain sample pack and there are some issues in SG with BiRP + Lit + GPU Instancing:

  1. Created a new Builtin Render Pipeline 2021.2.6 project, installed SG 12.1 before importing the terrain package.
    7737753--972321--upload_2021-12-15_9-36-31.png

  2. Imported the sample pack and add a few prefabs to a scene, all good with the Unlit shader.

  3. Changing the shader to Lit is breaking the shader:

  4. Disabling Instancing fixes the shader:

So while the new details system is designed to work with instancing, and instancing is broken with lit shaders created with SG in BIRP, I guess going with Unlit material type was the only choice.

Except for that little bug, nice sample pack! Waiting for trees :slight_smile: Cheers!

Is this supposed to work? Last I checked Shader Graph didn’t support BiRP.
https://docs.unity3d.com/Packages/com.unity.shadergraph@10.8/manual/Getting-Started.html

Yes, since 2021.2

1 Like

Wow, I somehow missed that. The documentation needs a bit of an update, apparently. :frowning: Sorry for the interruption then!

1 Like

Compared to other features which are marketed here and there, I don’t think I saw anything related to it. It is available since 2021.2 since the alpha release if I remember correctly. GPU Instancing was broken at that point, looks like it remained the same.