material: add auto shader constants for directional light info.
fullscreen: small bugfix that aused size to be wrong when leaving fullscreen.