code cleanup and better default values
added brightness adjustment to the shader