Shaders - wikid24/ffxiv_mmd_tools_helper GitHub Wiki
Sections:
- Active Material
- Add Glossy Shader
- Add Eye Catchlight Shader
- Apply Mektools Shader
- Colorsetter Shaders
- Colorsetter Gear Texture Folder
- Background Color
Active Material
Shortcut to selecting the active material for a mesh.
Apply Glossy Shader
Applies a 'Glossy BSDF' shader to a material. Once applied, the 'Roughness' skilder will be displayed, along with an 'X' button. The X button removes the shader from the active material
Glossy Roughness Slider
Adjusts the Gossy shader's roughness
Apply Eye Catchlight Shader
Adds a 'floating' eye catchlight to the currently selected mesh that:
- uses ffxiv's built-in "catchlight_1.png" texture
- moves/floats around the eye depending on your camera angle
This works on its own, OR can be used in combination with the Mektools Eye Shader / Colorsetter Eye Shader.
Apply MekTools Skin Shader
If you have the MekTools Addon installed, this will automatically apply the shader to the currently selected mesh, and add a few controls so that you don't need to go to the Shader Node Editor to adjust these settings. The X button removes the shader from the active material.
Upon applying this shader, a BACKUP of the original material is stored (it is the ORIGINAL name of the material prefixed with 'backup_'. This addon also adds a 'mektools_' prefix to the material as name as well. Pressing the 'X' button deletes the 'mektools_' material and restores the original 'backup_' to the active material for this mesh.
The following controls have been added (there's still more to add, like 'Lip Color' and 'Subsurface Color', but to be honest when I played with these settings, I didn't like the look, so it's not high on my priority list.
Anyway yeah embedded within the MekTools skin shader, the following controls has been exposed into this addon's panel:
- Subsurface Scattering
- Specular
- Wet
- Roughness
Apply MekTools Eye Shader
If you have the MekTools Addon installed, this will automatically apply the eye shader to the currently selected mesh, and add a few controls so that you don't need to go to the Shader Node Editor to adjust these settings. The X button removes the shader from the active material.
Upon applying this shader, a BACKUP of the original material is stored (it is the ORIGINAL name of the material prefixed with 'backup_'. This addon also adds a 'mektools_' prefix to the material as name as well. Pressing the 'X' button deletes the 'mektools_' material and restores the original 'backup_' to the active material for this mesh.
- Eye Type (need to pick depending on the Character's Race/Tribe.
- Brightness
- Eye Color
Also allows user to select a different image diffuse file & catchlight image file. They're built into the MekTools addon, but you can change it if you want to.
Apply Colorsetter Shaders
Automatically adds the Colorsetter Shaders to the currently selected mesh, and add a few controls so that you don't need to go to the Shader Node Editor to adjust these settings. The X button removes the shader from the active material.
Upon applying this shader, a BACKUP of the original material is stored (it is the ORIGINAL name of the material prefixed with 'backup_'. This addon also adds a 'colorsetter_' prefix to the material as name as well. Pressing the 'X' button deletes the 'colorsetter_' material and restores the original 'backup_' to the active material for this mesh.
If Apply .chara To Model was used beforehand, it will automatically apply the .chara file's colors upon adding a Colorsetter Shader
Sample Video:
Sections:
Skin
To be applied to any/all skin materials. You will know if this is the right material if the original material name contains a 'b' in between the race/gender ID 'c1101' and the material type ID '0001' such as 'c1101b0001'
The default skin textures are included in this addon, and will be automatically applied to your FFXIV model.
The skin type is detected depending on your race, tribe and gender. These details are from the Face mesh upon .fbx import and storing the details it in the armature's custom properties data.
Properties:
- Skin Color
- Mix: For Hrothgar Only. Determines how much of the fur pattern is visible.
- Fur Pattern Color: For Hrothgar Only.
- Subsurface Scattering
- Specular Mix
- Diffuse _d texture: Will automatically apply based on race/tribe/gender. NOTE: TexTools often exports the wrong Au Ra dark scales (Xaela I think?), you might need to replace the diffuse texture manually.
- Multi _s texture:
- 'skin_m' for all races except for Au Ra and Hrothgar.
- For Au Ra there are two different _s files, depending on your Gender. 'c1301b0001_s' for Male, 'c1401b0001_s' for Female.
- For Hrothgar there are 5 different _s files, each one depends on the fur pattern. Fur Pattern 'V1' texture is applied by default for Hrothgar, however if .chara file is applied beforehand, the correct fur pattern file will be applied.
- Normal _n texture: Will automatically apply based on race/tribe/gender.
- Search/Replace Texture:
- If an image has not been added yet , 'Search' will search for any files that match the original material's name followed by either _d, _s, or _n. Not really needed here because this addon auto-applies the default/standard texture files.
- If there is already an image attached, 'Replace' will search for any files in the specified folder with the exact same filename as the currently attached image and will replace them. Useful for when looking to replace the default textures with mods/upscaled textures.
Eyes
To be applied to the eyes material. You will know if this is the right material if the original material name ends in '_iri_a'
The default iris textures are included in this addon, and will be automatically applied to your FFXIV model.
The iris type is detected depending on your race and tribe. These details are from the Face mesh upon .fbx import and storing the details it in the armature's custom properties data.
Properties:
- Eye Color
- Mix: Determines how much of the odd eye color is applied to the left eye.
- Odd Eye Color
- Specular Decay
- Multi iri_s texture
- Normal iri_n texture
- Search/Replace Texture:
- If an image has not been added yet , 'Search' will search for any files that match the original material's name followed by either _d, _s, or _n. Not really needed here because this addon auto-applies the default/standard texture files.
- If there is already an image attached, 'Replace' will search for any files in the specified folder with the exact same filename as the currently attached image and will replace them. Useful for when looking to replace the default textures with mods/upscaled textures.
Face
To be applied to the face material. You will know if this is the right material if the original material name ends in '_fac_a'
Properties:
- Skin Color
- Subsurface Scattering
- Specular Mix
- Lip Color
- Diffuse fac_d texture
- Multi fac_s texture
- Normal fac_n texture
- Search/Replace Texture:
- If an image has not been added yet , 'Search' will search for any files that match the original material's name followed by either _fac_d, _fac_s, or _fac_n.
- If there is already an image attached, 'Replace' will search for any files in the specified folder with the exact same filename as the currently attached image and will replace them. Useful for when looking to replace the default textures with mods/upscaled textures.
Face Accent
To be applied to eyebrows/limbal ring (Au Ra)/tattoo materials. You will know if this is the right material if the original material name ends in '_etc_a'
Properties:
- Hair Color: Eyebrow color
- Mix: ??? I forgot.
- Tattoo Color
- Limbal Ring Color
- Limbal Mix: How much of the limbal ring color is applied??? I forgot.
- Limbal Intensity: How much of an 'emissive' (glow in the dark) amount is applied
- Multi etc_s texture
- Normal etc_n texture
- Search/Replace Texture:
- If an image has not been added yet , 'Search' will search for any files that match the original material's name followed by either _etc_s, or _etc_n.
- If there is already an image attached, 'Replace' will search for any files in the specified folder with the exact same filename as the currently attached image and will replace them. Useful for when looking to replace the default textures with mods/upscaled textures.
Hair
To be applied to hair materials. You will know if this is the right material if the original material name contains a 'h' in between the race/gender ID 'c1101' and the material type ID '0001' such as 'c1101h0001'
Properties:
- Hair Color
- Mix: How much of the hair highlights color is applied
- Hair Highlights Color
- Anisotrophy: ??? I dunno.
- Multi hir_s texture
- Normal hir_n texture
- Search/Replace Texture:
- If an image has not been added yet , 'Search' will search for any files that match the original material's name followed by either _hir_s, or _hir_n.
- If there is already an image attached, 'Replace' will search for any files in the specified folder with the exact same filename as the currently attached image and will replace them. Useful for when looking to replace the default textures with mods/upscaled textures.
Hrothgar / Miqote Tail
To be applied to Hrothgar / Miqote Tails only... THERE IS NO SHADER FOR AU RA TAILS. You will know if this is the right material if the original material name contains a 't' in between the race/gender ID 'c1101' and the material type ID '0001' such as 'c1101t0001'
Properties:
- Hair Color
- Hair Highlights Color
- Highlights Mix: How much of the hair highlights color is applied
- Multi etc_s texture
- Normal etc_n texture
- Search/Replace Texture:
- If an image has not been added yet , 'Search' will search for any files that match the original material's name followed by either _etc_s, or _etc_n.
- If there is already an image attached, 'Replace' will search for any files in the specified folder with the exact same filename as the currently attached image and will replace them. Useful for when looking to replace the default textures with mods/upscaled textures.
Colorsetter Gear Texture Folder
Location of the FFXIV Gear's textures that you would like to apply the colorset addon's textures to. This should be set to your TexTools' gear's foldername that you have exported. Typically this would be found in the Documents\TexTools\Saved*gear type* \ gear name folder
For example on my Windows 10 PC if I would like to apply the "Diados Jacket of Fending" textures, the folder where the textures are found would be:
- C:\Users\ %userprofile%\OneDrive\Documents\TexTools\Saved\Body\Diadochos Jacket of Fending
or - C:\Users\ %userprofile%\Documents\TexTools\Saved\Body\Diadochos Jacket of Fending\
Upon pressing the button to apply it, it will automatically apply the colorset addon's material to ALL meshes that share this material. The material will be prefixed with 'colorsetter_gear_' from it's original name.
Unlike using the colorsetter addon on its own (that destroys the original material), THIS plugin will store a backup of the old material, it's original name will be prefixed with 'backup_'
In order for this to properly, you need:
- The colorset addon installed in Blender(link)
- ALL the textures files that are available (diffuse, normal, specular, multimap, colorset, etc...) exported to JPG, BMP AND DDS from TexTools. Make sure Alpha textbox (A) is also checked before export as well.
Please note: there is BUGS with the colorset addon that may prevent some DDS colorset files to be applied. This plugin (FFXIV MMD) will roll back any changes to prevent losing your original material. To see the actual error message, attempt to use the color setter plugin manually and review the Blender Console Window.
Colorsetter Gear Settings
Properties:
- Multi _m/_d/_s: texture
- Normal _n texture
- Normal (Nearest) _n texture
- Diffuse _d texture
- Specular _s texture
- Specular Mask texture: ??? I have no idea what this does.
- Search/Replace Texture:
- If an image has not been added yet , 'Search' will search for any files that match the original material's name followed by one of the suffixes in the above textures.
- If there is already an image attached, 'Replace' will search for any files in the specified folder with the exact same filename as the currently attached image and will replace them. Useful for when looking to replace the default textures with mods/upscaled textures.
Background Color
Adds a background color that can be seen in renders. This is perfect for green screening/keying, as it is a uniform color and there is no gradient or shadows, and it does NOT bleed any light/color onto your scene. Pressing the 'X' button will remove the shaders.