2D project (Unity 2018.3.0)
Add to the camera the script https://i.sstatic.net/KzJmi.jpg
Configurate only Color Grading https://i.sstatic.net/UCLSI.jpg
Try to build and it takes too long cause appear in the charge bar Shaders. https://i.sstatic.net/e51q1.jpg
Any solution here?
At the first lines of the script do you going to see this:
#pragma multi_compile __ UNITY_COLORSPACE_GAMMA
#pragma multi_compile __ CHROMATIC_ABERRATION
#pragma multi_compile __ DEPTH_OF_FIELD DEPTH_OF_FIELD_COC_VIEW
#pragma multi_compile __ BLOOM BLOOM_LENS_DIRT
#pragma multi_compile __ COLOR_GRADING COLOR_GRADING_LOG_VIEW
#pragma multi_compile __ USER_LUT
#pragma multi_compile __ GRAIN
#pragma multi_compile __ VIGNETTE_CLASSIC VIGNETTE_MASKED
#pragma multi_compile __ DITHERING
Change "#pragma" for "#define" and only stay in pragma if you are going to use this process
In my case I'm only using ColorGrading
#define multi_compile __ UNITY_COLORSPACE_GAMMA
#define multi_compile __ CHROMATIC_ABERRATION
#define multi_compile __ DEPTH_OF_FIELD DEPTH_OF_FIELD_COC_VIEW
#define multi_compile __ BLOOM BLOOM_LENS_DIRT
#pragma multi_compile __ COLOR_GRADING COLOR_GRADING_LOG_VIEW
#define multi_compile __ USER_LUT
#define multi_compile __ GRAIN
#define multi_compile __ VIGNETTE_CLASSIC VIGNETTE_MASKED
#define multi_compile __ DITHERING