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