Work on vertex attributes
This commit is contained in:
+1
-1
@@ -360,7 +360,7 @@ instanceLightMap cfig nWalls nSils nCaps toPos tanormals lightPoints pdata = do
|
||||
glBindTextureUnit 0 (pdata ^. fboShadow . _2 . _1 . unTO)
|
||||
glEnable GL_BLEND
|
||||
glBlendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
|
||||
glUseProgram (pdata ^. shadowCombineShader . _1 . shaderUINT)
|
||||
glUseProgram (pdata ^. shadowCombineShader . shaderUINT)
|
||||
glDrawArrays
|
||||
GL_POINTS
|
||||
0
|
||||
|
||||
Reference in New Issue
Block a user