コード例 #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");
 }
コード例 #2
0
 public PostProcessing(int width, int height, string vertexShaderPath, string fragShaderPath)
 {
     fmanager = new FramebufferManager(width, height, vertexShaderPath, fragShaderPath);
 }