48 lines
1.1 KiB
Go
48 lines
1.1 KiB
Go
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/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
|
|
|
|
//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
|
|
|
|
//go:embed shader/world/output.frag
|
|
WorldShaderOutputFrag string
|
|
//go:embed shader/world/output.vert
|
|
WorldShaderOutputVert string
|
|
)
|
|
|
|
//go:embed shader/framewire.frag
|
|
var FramewireShaderFrag string
|
|
|
|
//go:embed shader/framewire.vert
|
|
var FramewireShaderVert string
|