Files
nterm/go.mod
bloeys 2da4b7a53d Disable DepthTest when drawing glyphs+move shared glyph draw logic
With depth testing enabled nearby glyphs can z-fight
and so some pixels might be discarded before fragment shader
even runs, which causes us to see only part of a letter.

As such we always draw with blending enabled and depth testing
disabled so that any overlaps simply causes the char pixels to show.
2022-07-08 06:33:20 +04:00

16 lines
431 B
Modula-2
Executable File

module github.com/bloeys/nterm
go 1.18
require (
github.com/bloeys/gglm v0.41.10
github.com/bloeys/nmage v0.12.13
github.com/go-gl/gl v0.0.0-20211025173605-bda47ffaa784
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0
github.com/inkyblackness/imgui-go/v4 v4.3.0
github.com/veandco/go-sdl2 v0.4.10
golang.org/x/image v0.0.0-20220617043117-41969df76e82
)
require github.com/bloeys/assimp-go v0.4.2 // indirect