Skip to content

Commit 35a7f63

Browse files
committed
Preparing release
1 parent 9fb615d commit 35a7f63

File tree

2 files changed

+25
-22
lines changed

2 files changed

+25
-22
lines changed

__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
NODE_OT_stm_move_line
6666
)
6767

68-
6968
def register():
7069
from bpy.utils import register_class
7170
for cls in classes:

readme.rst

+25-21
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,17 @@ The texture maps names are editable and can include up to 3 multi-channel maps.
2020
:align: left
2121

2222
The texture files must have been exported using a pattern containing the material name and a map type (BaseColor, Metallic, Roughness, Normal etc.).
23+
2324
You can use the Split RGB option to connect the Red, Green and Blue channels individually if your textures include separate maps mixed in.
24-
When 'Detect Sockets' is enabled the script will parse the line name and fill in the input socket if a match is found and Line names like 'alpha_ior_metal' will be recognized as split-rgb.
25+
When 'Detect target socket' is enabled the script will parse the line name and fill in the input socket if a match is found and Line names like 'alpha_ior_metal' will be recognized as split-rgb.
2526

2627
.. figure:: http://kos-design.com/images/wikipics/panel_multi_sockets.gif
2728
:align: left
2829

29-
Manual assignment is also possible for a given material regardless of the texture file name pattern.
30-
Various options are available for fine tuning such as adding RGB curves and color ramps, using custom shader nodes, inverting the Green channel of the normal map or even ignoring the .00x prefix in duplicated material names.
30+
Note: 'Detect target socket' should be disabled to be able to manually select a target socket for a texture map or the drop-down list will overwritten and appear grayed out.
3131

32+
Various options are available for fine tuning such as adding RGB curves and color ramps, using custom shader nodes, inverting the Green channel of the normal map or even ignoring the .00x prefix in duplicated material names.
33+
Manual assignment is also possible for a given material regardless of the texture file name pattern.
3234

3335
Installation:
3436
-------------
@@ -54,11 +56,10 @@ https://youtu.be/45rky8J_0us
5456

5557
The panel labeled "Substance Textures Importer" is displayed under the Shader Settings in the Material Tab.
5658

57-
First choose the directory containing the textures files to be imported using the folder selection field under the "Maps Folder" section of the addon panel.
58-
59-
.. figure:: http://kos-design.com/images/wikipics/folder_select.jpg
60-
61-
After setting the folder the script, modify the texture maps names ('Color','Roughness'...) to fit your naming pattern
59+
First set the desired target in the 'Target' dropdown list at the top and choose the directory containing the textures files to be imported using the folder selection window or the field under the "Maps Folder" section of the Shader Node Editor Panel.
60+
After setting the folder, modify the texture maps names ('Color','Roughness'...) to fit your naming pattern,
61+
or use the '2-gears' button at the right of the list to attempt to auto-fill the line names if the current material name is detected in the folder content.
62+
The button with the chip icon below restores the line names to a default set of values.
6263

6364
.. figure:: http://kos-design.com/images/wikipics/panel_lines.gif
6465
:align: left
@@ -94,21 +95,16 @@ Replace Shader:
9495
---------------
9596
When this option is enabled the shader node of the material will be replaced by the one displayed in the dropdown selector next to it.
9697

97-
-----------------------------
98-
Apply to all visible objects:
99-
-----------------------------
100-
Process all visible objects regardless of the current selection.
101-
102-
----------------------------
103-
Apply to active object only:
104-
----------------------------
105-
Process only the last selected / active object regardless of the current selection.
106-
10798
--------------------------
10899
Skip normal map detection:
109100
--------------------------
110101
By default a normal map node or bump map node is added when a normal map or height map is detected. Enable this option if you are using a custom shader that already include such conversion node in order to plug the image directly in the selected input socket.
111102

103+
--------------------------
104+
OpenGL Normals:
105+
--------------------------
106+
Enabled by default, disable it to invert the green channel of a normal map to use directx-style format instead of the usual one.
107+
112108
----------------------
113109
Enable Custom Shaders:
114110
----------------------
@@ -120,6 +116,11 @@ Clear nodes from material:
120116
--------------------------
121117
Removes all existing nodes nodes from the target materials before processing them.
122118

119+
--------------------------
120+
Attach Curves and Ramps:
121+
--------------------------
122+
Inserts a RGBCurve or a ColorRamp node between the images and their assigned sockets to enable fine tuning.
123+
123124
---------------------
124125
Only active material:
125126
---------------------
@@ -130,17 +131,20 @@ Duplicated material compatibility:
130131
----------------------------------
131132
Enable this option to ignore the .00x prefix from the target materials names.
132133

134+
--------------------------
135+
Map names from files:
136+
--------------------------
137+
When enabled the script will try to fill the line names when the texture folder gets set. The current material name should be included in the images names from that folder for better chances of success.
138+
133139
------------
134140
Manual Mode:
135141
------------
136142
Use this to be able to manually select a texture file instead of relying on the pattern detection algorithm of the addon.
137143
When enabled, a new line labelled 'Overwrite file name' will appear under the maps table.
138-
You can then activate it for each line and the texture map name will change to an individual file selection field that you can use to set the path of a texture file to import.
144+
It can be activated for the required line and a file selection field will appear below that you can use to set the path of a texture file to import.
139145
Note: When "Manual" and "Overwrite file name" are enabled in one of the Panel lines,
140146
the addon will skip the name pattern detection and will use the path you select instead.
141147

142-
.. figure:: http://kos-design.com/images/wikipics/manual.png
143-
:align: left
144148

145149
Presets:
146150
--------

0 commit comments

Comments
 (0)