Project

General

Profile

« Previous | Next » 

Revision de77a6c5

Added by Leszek Koltunski over 3 years ago

Introduce another Uniform Block Object. Now we can have much more vertex and fragment effects - up their default number to 100.

View differences:

src/main/java/org/distorted/library/effect/EffectType.java
71 71
 */
72 72
  public static void reset(int[] maxtable)
73 73
    {
74
    maxtable[0] =10;  // By default, there can be a maximum 10 MATRIX effects in a single
75
                      // EffectQueueMatrix at any given time. This can be changed with a call
76
                      // to EffectQueueMatrix.setMax(int)
77
    maxtable[1] = 5;  // Max 5 VERTEX Effects
78
    maxtable[2] = 5;  // Max 5 FRAGMENT Effects
79
    maxtable[3] = 3;  // Max 3 POSTPROCESSING Effects
74
    maxtable[0] =100;  // By default, there can be a maximum 100 MATRIX effects in a single
75
                       // EffectQueueMatrix at any given time. This can be changed with a call
76
                       // to EffectQueueMatrix.setMax(int)
77
    maxtable[1] =100;  // Max 100 VERTEX Effects
78
    maxtable[2] =100;  // Max 100 FRAGMENT Effects
79
    maxtable[3] =  3;  // Max 3 POSTPROCESSING Effects
80 80
    }
81 81

  
82 82
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff