Awesome patch, Wrel!
Not really related to this patch, but are god rays are still going to be fixed in the future, or are they just abandoned at this point? It's already filed in issue tracker, but not responded by DBG people yet.
That's pretty low on the priority list at the moment, but ideally it comes back.