TexToMatO is a powerful texture to material converter for Redshift in Cinema4D.
Have you ever had the pleasure of creating materials from texture sets, one by one, each time doing the same thing over and over again? connecting the roughness to a ramp, setting it to colorspace raw, connecting it to the roughness input; then the normal map, set it to raw, connect it to a bump node... it goes on and on.
Or even worse, a "tex" folder from a past project, with all kinds of textures and the naming schemes of the textures are all over the place?
TexToMatO uses regular expressions to create materials from a given folder, making sure to read in each texture as its correct kind, setting it to the right colorspace, maybe adding needed nodes in-between (ramp, bump map, etc.) and connecting it to the right material input.
It can also work on already existing materials; for example, when importing .fbx files it often only imports the base texture, not the roughness and all other maps. TexToMatO will take care of all of that - superfast!
![fc291255-22da-4543-a5bd-2c645b67987d-image.png](https://developers.maxon.net/forum/assets/uploads/files/1692874574538-fc291255-22da-4543-a5bd-2c645b67987d-image.png)
Installation
- Unzip TexToMatO into your plugins folder of Cinema 4D. (below are examples)
- Windows:
C:\Users\USERNAME\AppData\Roaming\MAXON\CINEMA 4D VERSION\plugins\
- Mac:
/Users/USERNAME/Library/Preferences/MAXON/CINEMA 4D VERSION/plugins/
- Make sure there is no TexToMatO folder inside of the plugins/TexToMatO folder
- You can then open TexToMatO by going to Extensions -> TexToMatO
- You can add a shortcut to open TexToMatO in your layout for easier access!
Features
TexToMatO has two modes: Either you can import all textures inside a folder to create new materials for each set from scratch, or you can import missing textures in selected materials (which often occur after importing .fbx files for example).
Import all textures from folder
Import textures from base in material
: Searches for an already existing texture in the selected materials and finds the missing ones from the texture folder
Derive texture folder from base
: If OFF, you can specify which folder to read the textures from instead of automatically deriving it from the base texture in the material
Delete base texture in material
: Deletes the already existing texture in the material to not end up with duplicate texture nodes.
Rename material based on texture
: Renames the material to the base texture's base name.
Normal options
Flip Y
: Toggles the option to flip the Y channel of the normal. This is useful when working with DirectX vs. OpenGL normal maps.
Use Legacy Bump
: If you see any artifacting with the normal maps, toggle this option.
MultiTexture
: Textures from game files often pack multiple textures into a single one by using the RGB channels. With this option you can specify which texture is used to pack the textures, and what texture is in which channel. TexToMatO will connect it accordingly.
Miscellaneous
Use Sprite node for opacity
: You can decide whether the opacity texture gets plugged into the Standard Material's opacity channel or whether it should be used as a sprite node (more efficient, but only binary opacity).
Use case-insensitive regex
(be careful not to match too much with that though)
- Regex options
*Use custom regex: Manage your own custom, additional regex you can add for your version of the plugin: maybe you have some interesting channel names in your studio?
- Preferences
- Automatically add Color Correct nodes to color textures (Albedo & Translucency)
- Automatically add Triplanar nodes to all textures
- Whether to connect AO to overall tint or multiplying it with Albedo in a color layer
- Additional Features
- All texture nodes can be managed at once with SCALE, OFFSET and ROTATION nodes added to the graph
- Submit Bugs and Feedback easily with a form
- Once you import one or more textures, all settings are saved and are there for you when you need them (well, and restart C4D)
- No worries, you can easily reset them to default in the preferences menu should you want to!
Check it out on Gumroad to support this project and me!
Have fun and keep on creating!
Small demo video