First cut at resolutionScale uniform.

Still need doc updates and cleanup.