fix semi-transparent (water) rendering

This commit is contained in:
2022-01-29 22:29:27 +08:00
parent fea09c5012
commit 444697b205
11 changed files with 212 additions and 132 deletions

View File

@@ -3,10 +3,6 @@ package asset
import _ "embed"
var (
//go:embed shader/world/output.frag
WorldShaderFrag string
//go:embed shader/world/output.vert
WorldShaderVert string
//go:embed shader/world/shadowmap.frag
WorldShaderShadowmapFrag string
@@ -18,10 +14,20 @@ var (
//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