deadalvs
01-06-2009, 08:05 PM
hi .. i have a problem.
i am making myself a little converter script that converts a selection of generated phong-materials from natFX (http://www.bionatics.com/) to maxwell shaders.
so i scan for the file nodes and textures of those shaders for multiple purposes. but mainly i am taking the diffuse color file, strip out the alpha and export those maps as new textures (color, alpha) for maxwell with the "composite" command.
the problem now (with the bump channel, i want to use the color map as bump) is that those exported maps always have a white alpha channel and maxwell shaders only accept .outAlpha connections to the bump channel.
so...
is there a way to export a texture from a file in node as a file that has the color information in all channels (RGBA) ?
i am making myself a little converter script that converts a selection of generated phong-materials from natFX (http://www.bionatics.com/) to maxwell shaders.
so i scan for the file nodes and textures of those shaders for multiple purposes. but mainly i am taking the diffuse color file, strip out the alpha and export those maps as new textures (color, alpha) for maxwell with the "composite" command.
the problem now (with the bump channel, i want to use the color map as bump) is that those exported maps always have a white alpha channel and maxwell shaders only accept .outAlpha connections to the bump channel.
so...
is there a way to export a texture from a file in node as a file that has the color information in all channels (RGBA) ?
