How to find an object's shader data in Studio
Jun 23, 2015 8:54:59 GMT -5
Omorfi-Mera, mehrlicht, and 1 more like this
Post by orangemittens on Jun 23, 2015 8:54:59 GMT -5
Introduction
This mini-tutorial will show you how to locate the shader data for an object using Sims 4 Studio. The shader can then be edited using Studio as well.
At this time, regardless of what tool you use to edit shaders for objects, you will need to change the shader for every swatch in the .package. This will need to be done for each Model in the .package so that the change shows up on all swatches at all levels of detail in the game. At some point in the future the shader will be moved onto the Studio tab where it will have an Apply to All button to make this process more streamlined.
What you will need
Sims 4 Studio (Love) or above
Instructions
Open your .package and click the Warehouse button. Then click on the first Model LOD line on the left. It will have a group number that is all 0's. Then click the Edit Items button on the Meshes line.
The Editing Meshes box will pop up. The left side will show a list of all the meshes in the model. It will also include the shader that is applied to the mesh's first swatch. For EA items this shader will be the same for all swatches. If this is the shader you want the item to have then you're done. If you would like to change the shader scroll down on the right side to the Material section. Click the Edit Items on the Entries line.
The Editing Entries box will pop up. The list on the left shows every swatch in the .package. Many EA items have variants for each swatch which represent their normal state, their dirty state, and their burnt state. Click on one of the swatches on the left, scroll to the Material section, and you will find the shader. This line has a drop down menu containing the shaders that can be used in place of whatever the item is using. Again, this will need to be changed for each swatch in the .package because otherwise your change will only show on the swatch you actually edited.
This will need to be repeated for the other LOD if there is one. You can ignore any LOD that has a group number beginning with 1 because those are shadow LODs and don't display shaders. The lowest LOD has been included by EA in the Model resource rather than in a LOD resource. This will need to be changed too. Click on that line and then click the Edit Items on the Lods line.
This will bring up the Editing Lods box. On the left is a list of all the Lods in the Model. Click on the LowDetail Lod (you will have edited the others already). Scroll until you see the meshes line in the Model section. Click the Edit Items button on that line to bring up the Editing Meshes box and continue as you did above from there.
This mini-tutorial will show you how to locate the shader data for an object using Sims 4 Studio. The shader can then be edited using Studio as well.
At this time, regardless of what tool you use to edit shaders for objects, you will need to change the shader for every swatch in the .package. This will need to be done for each Model in the .package so that the change shows up on all swatches at all levels of detail in the game. At some point in the future the shader will be moved onto the Studio tab where it will have an Apply to All button to make this process more streamlined.
What you will need
Sims 4 Studio (Love) or above
Instructions
Open your .package and click the Warehouse button. Then click on the first Model LOD line on the left. It will have a group number that is all 0's. Then click the Edit Items button on the Meshes line.
The Editing Meshes box will pop up. The left side will show a list of all the meshes in the model. It will also include the shader that is applied to the mesh's first swatch. For EA items this shader will be the same for all swatches. If this is the shader you want the item to have then you're done. If you would like to change the shader scroll down on the right side to the Material section. Click the Edit Items on the Entries line.
The Editing Entries box will pop up. The list on the left shows every swatch in the .package. Many EA items have variants for each swatch which represent their normal state, their dirty state, and their burnt state. Click on one of the swatches on the left, scroll to the Material section, and you will find the shader. This line has a drop down menu containing the shaders that can be used in place of whatever the item is using. Again, this will need to be changed for each swatch in the .package because otherwise your change will only show on the swatch you actually edited.
This will need to be repeated for the other LOD if there is one. You can ignore any LOD that has a group number beginning with 1 because those are shadow LODs and don't display shaders. The lowest LOD has been included by EA in the Model resource rather than in a LOD resource. This will need to be changed too. Click on that line and then click the Edit Items on the Lods line.
This will bring up the Editing Lods box. On the left is a list of all the Lods in the Model. Click on the LowDetail Lod (you will have edited the others already). Scroll until you see the meshes line in the Model section. Click the Edit Items button on that line to bring up the Editing Meshes box and continue as you did above from there.