Hello! If you want to edit this shader, you should read the license first. 

This file contains information about how this shader is structured.

The "program" subdirectory contains files that are shared across all 3 minecraft dimensions. 
All the files in the world-1, world0 and world1 folders do is include their program/ counterpart.
They also have a #define DIMENSION_whatever directive. This way, if you want something to happen in the overworld only, you can check if DIMENSION_OVERWORLD is defined. 

Most of the lighting is done in gbuffers using the "/global/lighting" files. 
Composite passes handle post-processing, sky rendering, fog and clouds. You can find information about what each pass does inside the file itself.

Buffer usage:
At the moment, Mellow uses 3 buffers. This will most likely change in the future.
colortex0: main buffer
colortex1: bloom
colortex2: SMAA main
colortex3: SMAA area
gaux1: Reflections & TAA
colortex5: SMAA search
colortex6: Data (just DoF focus point for now)


I will leave the upper part of the file untouched;

What was added by me:

At the moment there are VHS effects : Jitter dropout scanlines etc;
Anamorphic effect : It seperates color chanels;
Modified the clouds: make them look like 2016 without killing your pc (2D still);
Improved Godrays to make sunsets a remarkable Memory;
Added A realistic moon;
Improved end ambience;
Improved LM flicker;
Teaked the water adding soft Gerstner waves;
Made celestials bigger;
Improved weather ambience (made it gloomy as a Childhood rainy day);
Shadows are still in development and disabled at this point;

As for the buffer usage, it stays the same and i didn't change the order;
DOF is not working yet.
