Revision 310e14fb
Added by Leszek Koltunski almost 7 years ago
src/main/java/org/distorted/library/effect/PostprocessEffect.java | ||
---|---|---|
23 | 23 |
import org.distorted.library.type.Static; |
24 | 24 |
|
25 | 25 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
26 |
// POSTPROCESSING EFFECTS. |
|
27 |
// 5 Uniforms: 5 per-effect interpolated values. |
|
26 | 28 |
|
27 | 29 |
public abstract class PostprocessEffect extends Effect |
28 | 30 |
{ |
... | ... | |
55 | 57 |
|
56 | 58 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
57 | 59 |
|
58 |
static boolean isUnity(int name, float[] buffer, int index) |
|
60 |
public static boolean isUnity(int name, float[] buffer, int index)
|
|
59 | 61 |
{ |
60 | 62 |
switch(mUnityDim[name]) |
61 | 63 |
{ |
Also available in: Unified diff
Some progress with Effect classes.
Big mess - nothing compiles now; classes moved around.