render: deferred shading
This commit is contained in:
@ -64,6 +64,7 @@ func main() {
|
||||
winClock = time.Now()
|
||||
game.Update(win, deltaTime)
|
||||
|
||||
gl.ClearColor(0.6, 0.8, 1.0, 1)
|
||||
gl.Clear(gl.COLOR_BUFFER_BIT | gl.DEPTH_BUFFER_BIT)
|
||||
|
||||
game.Render(win)
|
||||
|
Reference in New Issue
Block a user