(self)
| 46 | |
| 47 | |
| 48 | def renderDebugMap(self): |
| 49 | shader = PWShaders.getShader(ShaderTypes.SDEBUG_SHADER) |
| 50 | glUseProgram(shader.shader) |
| 51 | |
| 52 | glActiveTexture(GL_TEXTURE0) |
| 53 | glBindTexture(GL_TEXTURE_2D, self.depth_texture) |
| 54 | |
| 55 | glBindVertexArray(self.debugger.vao) |
| 56 | glDrawArrays(GL_TRIANGLE_STRIP, 0, 4) |
| 57 | |
| 58 | |
| 59 | class PWSkyboxShadow(PWConstants): |