public ShadowMapping(int w, int h) { fmanager = new FramebufferManager(w, h, FramebufferManagerMode.SHADOW_BUFFER); shader = new Shader("./shadow_shader.vert", "./shadow_shader.frag"); }
public PostProcessing(int width, int height, string vertexShaderPath, string fragShaderPath) { fmanager = new FramebufferManager(width, height, vertexShaderPath, fragShaderPath); }