st.sub.append(Statement("receive_shadows", True))
if material.image_based_lighting:
st.sub.append(Statement("image_based_lighting", True))
st.sub.append(Statement("receive_shadows", True))
if material.image_based_lighting:
st.sub.append(Statement("image_based_lighting", True))