public void BindShadowBuf(FrameBuffer.FrameBufferColor from) { if (ShadowBuffer2 == null || ShadowBuffer2.IW != ShadowBuf.IW || ShadowBuffer2.IH != ShadowBuf.IH) { //ShadowBuffer2 = new FrameBuffer.FrameBufferColor(ShadowBuf.IW, ShadowBuf.IH); } ShadowBuffer2.Bind(); }
private void CreateShadowBuffers(int w, int h) { SB1 = new FrameBuffer.FrameBufferColor(w, h); SB2 = new FrameBuffer.FrameBufferColor(w, h); }
public PPMapGrid() { FX = new FXMapGrid(); FB1 = new FrameBuffer.FrameBufferColor(App.AppInfo.W, App.AppInfo.H); }
public override void Init( ) { BFX = new EVelBuf( ); RFX = new EMotionBlur( ); VelFBO = new FrameBuffer.FrameBufferColor(512, 512); }
public PPVirtualGrid() { FX = new FXGrid(); FB1 = new FrameBuffer.FrameBufferColor(App.AppInfo.W, App.AppInfo.H); }