Fix shadow for 3 and 5 types