EpicFixShader icon indicating copy to clipboard operation
EpicFixShader copied to clipboard

Patch shaders in AssetBundles to support Single Pass Stereo Instancing

Quick link to TODO project

Extract shaders from AssetBundle, fix them up to support Single Pass Stereo Instancing, patch the fixed shaders back into the original bundle. Voila.

  1. Build HLSLcc, use CMake to generate a solution or something.
  2. Set hardcoded paths in FixShader/Program.cs
  3. Run FixShader with Visual Studio

Requirements:

  • Unity 2017 installation
  • Unity 2018 installation
  • Unity 2019 installation
  • CMake