Skip to content

Commit

Permalink
remove 2 lines to fix *shadow problem* in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
rwbaer committed Aug 19, 2022
1 parent f8ff3bc commit d9d4db7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions makehuman/lib/glmodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,6 @@ def renderToBuffer(width, height, productionRender = True):
# Neutral background color
oldClearColor = G.clearColor
G.clearColor = (0.5,0.5,0.5, 1)
glEnable(GL_DEPTH_TEST);

# Draw scene as usual
draw(productionRender)
Expand Down Expand Up @@ -968,7 +967,6 @@ def renderAlphaMask(width, height, productionRender = True):
# Transparent background color
oldClearColor = G.clearColor
G.clearColor = (0.5, 0.5, 0.5, 0)
glEnable(GL_DEPTH_TEST);
# Change blend func to accumulate alpha
glBlendFunc(GL_ONE, GL_ONE)
# Disable multisampling
Expand Down

0 comments on commit d9d4db7

Please sign in to comment.