Adjust dialog UI

This commit is contained in:
2024-09-09 18:19:32 -07:00
parent edef839b87
commit f8f3c9842f
22 changed files with 156 additions and 145 deletions

View File

@@ -14,7 +14,7 @@ uniform float wave_strength = 1.0;
uniform float wave_scale = 0.02;
uniform int pixelation_level = 64;
uniform float FoamSize = 0.5;
uniform sampler2D DepthTexture : hint_depth_texture;
uniform sampler2D DepthTexture : hint_depth_texture;
uniform float WaterOpacity = 1.0;
uniform float FoamGlowIntensity = 0.5;
@@ -46,7 +46,7 @@ void fragment() {
float foamOpacity = 1.0 - foamEffect;
float foamEffectRounded = round(foamOpacity);
float finalOpacity = foamEffectRounded + WaterOpacity;
ALBEDO = blended_water_color.rgb * albedo;
ALPHA = finalOpacity;
EMISSION = vec3(foamEffectRounded) * FoamGlowIntensity;