Download : https://drive.google.com/open?id=1hloorB11hPcIXIIKBIRzqvon9mpmbYPK
How to use :
Just add your shaders and names to the CustomDrawModeAsset
Thanks Vlad Neykov for helping me in making this little tool
( This is one of the tools I made during #UnityHackweek )
Update: SRP batcher is in 18.2
Single thread / direct -force-gfx-direct
Multi–thread / client+worker pair (means that no graphics job)
- Main thread
- Render thread
Graphics Jobs / native (only in player) Vulkan DX12
(My playground pipeline)
Here lists out exact what codes enable the Unity feature when making our custom SRP.
*Note that my codes may not be perfectly optimised, but the concept itself won’t change.
*Hope the information is accurate enough. I’ll keep them updated.
In pipeline code
In shader code
✅ Doesn’t need to specifically care about it in codes. Write the codes as usual.
Continue reading “[Custom SRP] How to use Unity features?”
//Codes that Surface Shader should work