Fix viewport offset for lightmap lookup
Add SetAmbientBrightness and GetAmbientBrightness script functions