I've tried playing around with the sun variables, but that didn't produce any useful results. View entities don't seem to be affected by sunlight at all, which is strange because they used to be affected in A6.
I suppose I should mention that my project doesn't load WMB levels. I load empty levels (level_load(NULL)) and then populate the world space with entities. I wonder if that makes any difference?