Revision e2b2d95f
Added by Leszek Koltunski almost 8 years ago
src/main/java/org/distorted/library/EffectQueuePostprocess.java | ||
---|---|---|
102 | 102 |
|
103 | 103 |
void postprocess(DistortedFramebuffer input, DistortedFramebuffer output) |
104 | 104 |
{ |
105 |
// TODO |
|
105 |
// 1. Set input's COLOR0 as input texture |
|
106 |
// 2. Set output as output FBO |
|
107 |
// 3. set Vieport |
|
108 |
// 4. call send() |
|
109 |
// 5. render a quad: |
|
110 |
/* |
|
111 |
GLES20.glVertexAttribPointer(Distorted.mPostProgramAttributes[0], MeshObject.POSITION_DATA_SIZE, GLES20.GL_FLOAT, false, 0, mMeshPositions); |
|
112 |
GLES20.glVertexAttribPointer(Distorted.mPostProgramAttributes[1], MeshObject.TEX_DATA_SIZE , GLES20.GL_FLOAT, false, 0, mMeshTexture); |
|
113 |
GLES20.glDrawArrays(GLES20.GL_TRIANGLE_STRIP, 0, 4); |
|
114 |
*/ |
|
106 | 115 |
} |
107 | 116 |
|
108 | 117 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
Also available in: Unified diff
Minor.