icexin / gocraft

A Minecraft like game written in go
MIT License
1.88k stars 129 forks source link

refactor: extract shaders from Go source and embed them instead #23

Closed dolanor closed 2 years ago

dolanor commented 2 years ago

Hi,

was showing the project to my kids today and saw we couldn't edit the shaders with all the possibility of an IDE as they were as string in Go code, so I thought we could use go:embed here.

icexin commented 2 years ago

Thanks for your contribution! Maybe you need to modify the CI file and README synchronously to reflect the change in the requirements of the Go version

icexin commented 2 years ago

LGTM