Revision 82d6f93a
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/effect/EffectName.java | ||
---|---|---|
48 | 48 |
MOVE ( EffectType.MATRIX , new float[] {0.0f,0.0f,0.0f} , 3, false, false ), |
49 | 49 |
SCALE ( EffectType.MATRIX , new float[] {1.0f,1.0f,1.0f} , 3, false, false ), |
50 | 50 |
SHEAR ( EffectType.MATRIX , new float[] {0.0f,0.0f,0.0f} , 3, false, true ), |
51 |
|
|
51 | 52 |
DISTORT ( EffectType.VERTEX , new float[] {0.0f,0.0f,0.0f} , 3, true , true ), |
52 | 53 |
DEFORM ( EffectType.VERTEX , new float[] {0.0f,0.0f,0.0f} , 3, true , true ), |
53 | 54 |
SINK ( EffectType.VERTEX , new float[] {1.0f} , 1, true , true ), |
54 | 55 |
PINCH ( EffectType.VERTEX , new float[] {1.0f} , 2, true , true ), |
55 | 56 |
SWIRL ( EffectType.VERTEX , new float[] {0.0f} , 1, true , true ), |
56 | 57 |
WAVE ( EffectType.VERTEX , new float[] {0.0f} , 5, true , true ), |
58 |
|
|
57 | 59 |
ALPHA ( EffectType.FRAGMENT, new float[] {1.0f} , 1, true , false ), |
58 | 60 |
SMOOTH_ALPHA ( EffectType.FRAGMENT, new float[] {1.0f} , 1, true , false ), |
59 | 61 |
CHROMA ( EffectType.FRAGMENT, new float[] {0.0f} , 4, true , false ), |
... | ... | |
64 | 66 |
SMOOTH_SATURATION( EffectType.FRAGMENT, new float[] {1.0f} , 1, true , false ), |
65 | 67 |
CONTRAST ( EffectType.FRAGMENT, new float[] {1.0f} , 1, true , false ), |
66 | 68 |
SMOOTH_CONTRAST ( EffectType.FRAGMENT, new float[] {1.0f} , 1, true , false ), |
69 |
|
|
67 | 70 |
BLUR ( EffectType.POSTPROCESS,new float[] {0.0f} , 1, false, false ), |
68 | 71 |
GLOW ( EffectType.POSTPROCESS,new float[] {0.0f} , 1, false, false ); |
69 | 72 |
|
src/main/java/org/distorted/library/effect/VertexEffectDeform.java | ||
---|---|---|
151 | 151 |
uniforms[index+2] = ((Static3D)mStatic0).getZ(); |
152 | 152 |
} |
153 | 153 |
|
154 |
uniforms[index+9] =-uniforms[index+9]; |
|
155 |
|
|
154 | 156 |
return ret; |
155 | 157 |
} |
156 | 158 |
} |
src/main/java/org/distorted/library/effect/VertexEffectDistort.java | ||
---|---|---|
152 | 152 |
} |
153 | 153 |
|
154 | 154 |
uniforms[index+1] =-uniforms[index+1]; |
155 |
uniforms[index+9] =-uniforms[index+9]; |
|
155 | 156 |
|
156 | 157 |
return ret; |
157 | 158 |
} |
src/main/java/org/distorted/library/effect/VertexEffectPinch.java | ||
---|---|---|
154 | 154 |
} |
155 | 155 |
|
156 | 156 |
uniforms[index+1] = (float)(Math.PI*uniforms[index+1]/180); |
157 |
uniforms[index+9] =-uniforms[index+9]; |
|
157 | 158 |
|
158 | 159 |
return ret; |
159 | 160 |
} |
src/main/java/org/distorted/library/effect/VertexEffectSink.java | ||
---|---|---|
152 | 152 |
uniforms[index ] = ((Static1D)mStatic0).getX(); |
153 | 153 |
} |
154 | 154 |
|
155 |
uniforms[index+9] =-uniforms[index+9]; |
|
156 |
|
|
155 | 157 |
return ret; |
156 | 158 |
} |
157 | 159 |
} |
src/main/java/org/distorted/library/effect/VertexEffectSwirl.java | ||
---|---|---|
150 | 150 |
uniforms[index ] = ((Static1D)mStatic0).getX(); |
151 | 151 |
} |
152 | 152 |
|
153 |
|
|
154 |
uniforms[index] = (float)(Math.PI*uniforms[index]/180);
|
|
153 |
uniforms[index ] = (float)(Math.PI*uniforms[index]/180); |
|
154 |
uniforms[index+9] =-uniforms[index+9];
|
|
155 | 155 |
|
156 | 156 |
return ret; |
157 | 157 |
} |
src/main/java/org/distorted/library/effect/VertexEffectWave.java | ||
---|---|---|
178 | 178 |
uniforms[index+2] = (float)(Math.PI*uniforms[index+2]/180); |
179 | 179 |
uniforms[index+3] = (float)(Math.PI*uniforms[index+3]/180); |
180 | 180 |
uniforms[index+4] = (float)(Math.PI*uniforms[index+4]/180); |
181 |
uniforms[index+9] =-uniforms[index+9]; |
|
181 | 182 |
|
182 | 183 |
return ret; |
183 | 184 |
} |
Also available in: Unified diff
Bugfix (invert Region's y coord)