gl01/internal/asset/shader.go

38 lines
870 B
Go
Raw Normal View History

2022-01-20 21:58:50 +08:00
package asset
import _ "embed"
var (
//go:embed shader/world/shadowmap.frag
WorldShaderShadowmapFrag string
//go:embed shader/world/shadowmap.vert
WorldShaderShadowmapVert string
//go:embed shader/world/geometry.frag
WorldShaderGeometryFrag string
//go:embed shader/world/geometry.vert
WorldShaderGeometryVert string
2022-01-29 22:29:27 +08:00
//go:embed shader/world/lighting.frag
WorldShaderLightingFrag string
//go:embed shader/world/lighting.vert
WorldShaderLightingVert string
//go:embed shader/world/water.frag
WorldShaderWaterFrag string
//go:embed shader/world/water.vert
WorldShaderWaterVert string
2022-01-29 22:29:27 +08:00
//go:embed shader/world/output.frag
WorldShaderOutputFrag string
//go:embed shader/world/output.vert
WorldShaderOutputVert string
)
2022-01-22 23:06:41 +08:00
2022-01-20 21:58:50 +08:00
//go:embed shader/framewire.frag
var FramewireShaderFrag string
//go:embed shader/framewire.vert
var FramewireShaderVert string