Пример #1
0
 public DefferedRendererMRT(int w, int h)
 {
     W = w;
     H = h;
     Init(w, h);
     OutFX   = new DROutput();
     FinalFX = new DRFinalPass();
 }
Пример #2
0
 public DeferdRenderer(int w, int h)
 {
     W = w;
     H = h;
     Init(w, h);
     DiffFx  = new DRDiffuse();
     NormFx  = new DRNormal();
     PosFx   = new DRPosition();
     NormsFX = new DRNormals();
     FinalFx = new DRFinalPass();
 }