before shifting shadow plane calculation