Hi,

Am Feb 11, 2011 um 8:32 PM schrieb Edmund Buchal 
<edmund_buc...@isg-stuttgart.de>:

> 
> 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?
> 

I'll check, for now can't you turn it around, have a switchmaterial with
multipass materials where the multipass materials share the same 
second pass wireframe mat ?

kind regards
   gerrit
------------------------------------------------------------------------------
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

Reply via email to