How to Create Partial Shader Library FilesUsing ShaderSpider LE, you can create an MC6 file that applies a partial shader (FX6 file). Future versions of ShaderSpider (fullversion) will make it easy to create Partial Shader MC6 files. Anyone who wants to use one of these MC6 files will need ShaderSpider LE installed. You can include ShaderSpider with any products or downloads (see its read-me for more information.) Download ShaderSpider LE |
|
Creating an MC6 file that applies a partial shader (FX6 file)
|
|
| 1) Copy
and paste the text to the right into a new document and save it
as ":Runtime:libraries:materials:My Materials: My Fx6 Loader.mc6" It must be an MC6 file to work properly. 2) Change the objFileGeom to point to your partial shader. 3) Add an attrib section for each material that you want to affect. Be sure that the material is followed by a 1, if it's followed by a 0, the material will not be affected. If a figure/prop doesn't have a listed material, it will be ignored. You can put the FX6 file and the MC6 file into any Runtime that you want. ShaderSpider LE files (PY and PYC files) must be installed to the main Poser Runtime, or they will not function properly. If you're including ShaderSpider LE with a product, you may want to include it as a seperate installer. |
{
|
Creating an MC6 file that applies multiple partial shaders
(FX6 files)
|
|
| If you want an MC6 file to
apply multiple partial shaders, add additional sections, like in the
text to the right. Be sure to add the "runPythonScript" section between each FX6 file, and to reset the UNIVERSE actor at the end. |
{
|