TGViewer
Everyday Unity Everyday Unity @everydayunity · 1.18K subscribers
Post #1731 223
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
gamedev.center How To Write A Custom URP Shader With DOTS Instancing Support Learn what is DOTS instancing, when it is needed, and how to make a shader that can be used with BatchRendererGroup API. Full source code is inside.
  • 👍 3
More from @everydayunity
  1. Oct 2, 2026Customize Claude Code with mods in TypeScript You can now make mods for Claude cli and app…
  2. Sep 24, 2026Now you can change the effort mid session in new Claude. So the advice about caching from…
  3. Sep 24, 2026We were wondering in the comments what Claude reset does. Here is the answer https://www.r…
  4. Sep 22, 2026Introducing GPT‑6 Sol and Luna And better & cheaper sol and luna as an immediate response…
  5. Sep 22, 2026Introducing Claude Opus 5.5 \ Anthropic Cost and speed. Opus 5.5 requires less compute to…
  6. Sep 21, 2026Claude Code effort level and model selection effort means more than just "thinking time."…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →