if material.blended:
ss.sub.append(Statement("blend", Token("SRC_ALPHA"), Token("ONE_MINUS_SRC_ALPHA")))
-
- if material.render_mode!='CUSTOM':
- if material.receive_shadows:
- st.sub.append(Statement("receive_shadows", True))
- if material.image_based_lighting:
- st.sub.append(Statement("image_based_lighting", True))
+ if material.receive_shadows:
+ st.sub.append(Statement("receive_shadows", True))
+ if material.image_based_lighting:
+ st.sub.append(Statement("image_based_lighting", True))
tech_res.statements.append(st)