Hi, I have tried to use a SwitchMaterial inside of a MultiPassMaterial. My intention was to use a switchable simple material for the first pass and use a second pass to draw a wireframe representation of the geometry over the first pass. My problem is thas MultiPassMaterial keeps a list of PrimeMaterials for its passes, which means that i cannot use a SwitchMaterial for the first pass.
Would it couse some kind of problem/ would it be difficult to change the MultiPassMaterial so it uses a list of Materials (the base class for PrimeMaterials and CompositiMaterials) instead? Edmund Buchal ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users