branchrust_reboot/main/indirect_instancing/batch_renderer_group/std_shader_compatcancel
17 Commits over 30 Days - 0.02cph!
Add some notes about newly added .cginc files and why they are there.
Clean up Instancing.cginc
Restore built-in instancing compatibility of Rust/Standard shader because it's also required for non-BRG procedural instancing
Merge from batch_renderer_group
Remove legacy built-in instancing support from Rust/Standard shader. We're all-in on RRP, SRPB, BRG and all the other fancy acronyms.
Remove no longer needed RustDOTSInstancing.cginc
Port UNITY_ANY_INSTANCING_ENABLED from UnityInstancing.hlsl to UnityInstancing.cginc
Use a different method to override UnityShaderVariables.cginc and clean up some unneeded changes to Standard.shader
Make Rust/Standard render correctly with BatchRendererGroup most of the time
Stop using material mapping
Merge from .../batch_renderer_group
Fix terrain.geometryclipmaps not persisting properly
Get Unity to shut up about CBuffer setup (Rust/Standard)
Make some progress getting Rust/Standard to work with BatchRendererGroup
Fix a few shader compilation errors with rare variants
Move all standard shader inputs into one cbuffer, guard other files with #ifdef (included through `Standard.cginc`)