gl01/internal/asset/shader.go

48 lines
1.1 KiB
Go
Raw Permalink 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
2022-02-05 19:25:44 +08:00
//go:embed shader/world/ssao.frag
WorldShaderSSAOFrag string
//go:embed shader/world/ssao.vert
WorldShaderSSAOVert string
//go:embed shader/world/ssao_blur.frag
WorldShaderSSAOBlurFrag string
//go:embed shader/world/ssao_blur.vert
WorldShaderSSAOBlurVert 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