semi-transparent water rendering (TODO)

This commit is contained in:
2022-01-29 00:43:11 +08:00
parent 904221ac14
commit fea09c5012
18 changed files with 250 additions and 68 deletions

View File

@@ -2,23 +2,27 @@ package asset
import _ "embed"
//go:embed shader/world.frag
var WorldShaderFrag string
var (
//go:embed shader/world/output.frag
WorldShaderFrag string
//go:embed shader/world/output.vert
WorldShaderVert string
//go:embed shader/world.vert
var WorldShaderVert string
//go:embed shader/world/shadowmap.frag
WorldShaderShadowmapFrag string
//go:embed shader/world/shadowmap.vert
WorldShaderShadowmapVert string
//go:embed shader/world.shadowmap.frag
var WorldShaderShadowmapFrag string
//go:embed shader/world/geometry.frag
WorldShaderGeometryFrag string
//go:embed shader/world/geometry.vert
WorldShaderGeometryVert string
//go:embed shader/world.shadowmap.vert
var WorldShaderShadowmapVert string
//go:embed shader/world.geometry.frag
var WorldShaderGeometryFrag string
//go:embed shader/world.geometry.vert
var WorldShaderGeometryVert string
//go:embed shader/world/water.frag
WorldShaderWaterFrag string
//go:embed shader/world/water.vert
WorldShaderWaterVert string
)
//go:embed shader/framewire.frag
var FramewireShaderFrag string