From e741d069ab084af35b856465bc53e335834c15ac Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Fri, 7 May 2021 15:24:47 +0200 Subject: [PATCH] Use the new Gray-Alpha texture for water depth information for inland water too --- Effects/water-inland.eff | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/Effects/water-inland.eff b/Effects/water-inland.eff index faf272815..bfa08013d 100644 --- a/Effects/water-inland.eff +++ b/Effects/water-inland.eff @@ -52,13 +52,21 @@ normalized - Textures/Globe/ocean_depth_1.jpg + Textures/Globe/ocean_depth_1.png 2d linear-mipmap-linear repeat repeat normalized + + Textures/Globe/globe_colors.jpg + 2d + linear-mipmap-linear + repeat + repeat + normalized + Textures/Terrain/packice-overlay.png 2d @@ -408,6 +416,28 @@ texture[10]/internal-format + + 8 + + texture[8]/image + + + texture[8]/type + + + texture[8]/filter + + + texture[8]/wrap-s + + + texture[8]/wrap-t + + + texture[8]/internal-format + + + Shaders/water-ALS.vert @@ -1188,6 +1218,11 @@ sampler-2d 6 + + water_colormap + sampler-2d + 8 + normalmap_dds