How To Write A Custom URP Shader With DOTS Instancing Support
I wanted to enhance the look of my boids BatchRendererGroup sample with more suitable meshes instead of cubes. For that I decided to use a custom shader with some simple procedural vertex animation. Without proper documentation available it took me quite a while to figure out how to add DOTS instancing support to it, since it's required for BRG. So I am sharing the solution so you don’t have to spend your time.
https://gamedev.center/how-to-write-a-custom-urp-shader-with-dots-instancing-support/
#instancing #dots #brg #shader #rendering
Post #1731
223