material-maker icon indicating copy to clipboard operation
material-maker copied to clipboard

Export to .exr does not work

Open ghostsoft opened this issue 9 months ago • 2 comments

Material Maker version:

material_maker_1_4b1

OS/device including version:

Issue description:

Trying to export with the Blender export target preset only produces an albedo and normal texture. I thought this was strange since those are the only ones in png format while the other maps are in exr so I tried just changing the export target to export roughness, metal, displacement and occlusion as png (by just changing the output file name to $(path_prefix)_rough.png etc. and it now exports all the maps as png.

Something seems to go wrong with the .exr export.

Steps to reproduce: Export a material using the Blender export target.

ghostsoft avatar Apr 28 '25 20:04 ghostsoft

Saving EXR images is disabled by default in non-editor builds of Godot (for binary size reasons). I recall @RodZill4 compiled custom export templates with the TinyEXR module always enabled so that it can work in Material Maker in the 3.x days, but maybe this isn't being done anymore for now.

As a workaround, import Material Maker's source code as a Godot project and run it from the editor.

Calinou avatar Apr 29 '25 16:04 Calinou

This should be resolved in 1.4b2

williamchange avatar May 22 '25 14:05 williamchange