1
0
Fork 0

Improved frozen-lake texture without snow

This commit is contained in:
Erik Hofman 2021-12-25 10:55:09 +01:00
parent a36a7c96ac
commit d240a9b138
2 changed files with 1 additions and 1 deletions

View file

@ -564,7 +564,7 @@ void main(void)
// add ice
vec2 ice_tex_pos;
if (ocean_flag == 0) ice_tex_pos = gl_TexCoord[0].st;
if (ocean_flag == 0) ice_tex_pos = gl_TexCoord[0].st * 0.1;
else ice_tex_pos = vec2(waterTex2) * 0.2;
vec4 ice_texel = texture2D(ice_texture, ice_tex_pos);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 582 KiB

After

Width:  |  Height:  |  Size: 1.2 MiB