Added culling and color masking