further tweak water & ssao shaders
This commit is contained in:
@@ -443,7 +443,7 @@ func (g *Game) Render(win *glfw.Window) {
|
||||
gl.DepthFunc(gl.LESS)
|
||||
gl.Enable(gl.CULL_FACE)
|
||||
gl.Enable(gl.BLEND)
|
||||
gl.BlendFunc(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA)
|
||||
gl.BlendFunc(gl.ONE, gl.ONE_MINUS_SRC_ALPHA)
|
||||
gl.BlendEquation(gl.FUNC_ADD)
|
||||
g.render.water.shader.UseProgram()
|
||||
g.render.water.shader.BindTextures()
|
||||
|
Reference in New Issue
Block a user