Skip to content

Transform your 3D texturing workflow with the power of generative AI, directly within Blender!

match guidance map precision between blender versions

sakalondb80f2838a4e2
diff --git a/stablegen/utils.py b/stablegen/utils.py
index ee336fd..8c6c000 100644
--- a/stablegen/utils.py
+++ b/stablegen/utils.py
@@ -426,6 +426,7 @@ def configure_output_node_paths(node, directory, filename):
# 2. Set PNG format
node.format.file_format = "PNG"
+ node.format.color_depth = '8' # Force 8-bit; Blender 5.x defaults to 16-bit
# 3. Configure directory/base path
if hasattr(node, "directory"):