mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
improve shading & enable disabled elements
This commit is contained in:
parent
c1608fe8e2
commit
657b4304b4
9 changed files with 70 additions and 45 deletions
|
|
@ -111,6 +111,7 @@ GBuffer::~GBuffer() {
|
|||
|
||||
void GBuffer::bind() {
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, fbo);
|
||||
glClear(GL_COLOR_BUFFER_BIT);
|
||||
}
|
||||
|
||||
void GBuffer::unbind() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue