4
$\begingroup$

I'm creating 3D renders in Blender Eevee using game models. However the imported models tend to have 300+ meshes, with a lot of them having broken transparency that is fixed by disabling "Show Backface" in Material Settings. However, manually disabling this for every mesh is very time-consuming. Is there a way to disable this for all meshes? Either that or a way to make it that "Show Backface" is disabled by default?

$\endgroup$

1 Answer 1

6
$\begingroup$

Assuming you mean backface culling you can run this script:

import bpy

for eachMat in bpy.data.materials:
    
    eachMat.show_transparent_back = False

to set it to false for all materials

$\endgroup$
2
  • $\begingroup$ Not quite. I meant "Show Backface", as the transparency of the environment models I'm using break when it's enabled. link $\endgroup$
    – Malixano
    Commented Apr 5, 2022 at 9:22
  • $\begingroup$ i updated my answer $\endgroup$
    – Chris
    Commented Apr 5, 2022 at 10:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .