|
|
|
@ -177,11 +177,16 @@ public class FilterPostProcessor implements SceneProcessor, Savable { |
|
|
|
|
* @param mat |
|
|
|
|
*/ |
|
|
|
|
private void renderProcessing(Renderer r, FrameBuffer buff, Material mat) { |
|
|
|
|
if (buff == outputBuffer && multiView) { |
|
|
|
|
if (buff == outputBuffer) { |
|
|
|
|
viewPort.getCamera().resize(originalWidth, originalHeight, false); |
|
|
|
|
viewPort.getCamera().setViewPort(left, right, bottom, top); |
|
|
|
|
viewPort.getCamera().update(); |
|
|
|
|
renderManager.setCamera( viewPort.getCamera(), false); |
|
|
|
|
}else{ |
|
|
|
|
viewPort.getCamera().resize(buff.getWidth(), buff.getHeight(), false); |
|
|
|
|
viewPort.getCamera().setViewPort(0, 1, 0, 1); |
|
|
|
|
viewPort.getCamera().update(); |
|
|
|
|
renderManager.setCamera( viewPort.getCamera(), false); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (mat.getAdditionalRenderState().isDepthWrite()) { |
|
|
|
|