PBR Material Switching Menu Creation Process
1. Prepare the Model
Ensure the model is ready and meets the requirements for PBR materials.
2. Prepare the Textures
Gather the required textures for PBR materials, including Base Color, Normal, Metal Roughness ((O)RM), etc.
3. Prepare the Materials
Create and configure PBR materials. Ensure the materials include the correct textures and related parameters. If you’re unsure how to create materials, refer to here.
4. Add PrimTags to the Model
Use the automatic PrimTag addition script or manually add PrimTags to the model. Refer to Automatically Add PrimTag.
5. Set Up Materials in the SL Model’s Material Panel
Configure the materials in the Second Life model’s PBR material settings panel.
6. Design the Menu with EZMenu
Use the Material Inspector to retrieve the Material UUID and design the menu using EZMenu.
7. Generate the Script
Generate the configured menu script in EZMenu.
8. Add the Script
Add the generated script to the model.
9. Add Core Scripts
Add the [EZMenu]Setup and [EZMenu]M&T scripts to the model.
10. Test
Test the model to verify that the material switching functionality works as expected. Ensure the results meet your requirements. If the results are not as expected, return to step 5, re-configure the materials, redesign the menu in step 6, regenerate the script in step 7, and replace the generated script in step 8. Skip step 9 and continue testing.
11. Obtain the Signature
After testing, retrieve the signature information from the chat log. The signature is output after adding the [EZMenu]Setup script in step 7.
12. Fill in the Signature and Regenerate the Script
Enter the signature information into the Signature field in the Begin node properties panel of EZMenu, then regenerate the script.
13. Replace the Script Added in Step 8
Replace the script added in step 8 with the newly generated script. (Delete the old script and add the newly generated script.)
14. Replace the Core Scripts Added in Step 7
Remove the [EZMenu]Setup script from the model and add the [EZMenu]Master script.
15. Final Testing
Conduct a final test to ensure all changes and scripts are functioning correctly.
16. Completion
Your product is now ready to be shared. Before sharing, check the permissions of your product to ensure they align with your expectations.