6 - Fixing the shadows
By default, Unity will produce assets with it's own shadow system. These shadows will be different from the ones in VaM. This could be compensated by the plugin VAMifier. But using the plugin would break your potential cool materials with reflections or more advanced rendering processes.
There is a way to fix that by adding a shadow library based on the same one used by VaM.
- Exit Unity
- Browse to your Unity Editor folder, and go in this sub-folder Unity2018.1.9f2\Editor\Data\CGIncludes
- Download this file ( UnityShadowLibrary.cginc )
- Backup your original file
- Replace it with the one you just download
- Launch Unity
- Click on "Edit" > "Preferences"
- In the popup window, select "GI Cache"
- On the right panel, click on "Clean cache"
You're ready! Unity and the assetbundle browser will now build assets with the exact same shadowing as VaM.
Since you've added the include is added to the editor, cleared the GI cache, you are good to go for any new project using this version of Unity. Which also means any new asset, material, texture... etc... inside a single project. This is a procedure you only do once.