Added in a shader and code for generating a temperature map, which then determines where ice will be drawn (just pure white). More complicated behavior could be added for better looking ice and a silly bug I'm unable to fix could be fixed (the shader uniform for the threshold for when a pixel is ice seems to be unable to be set properly).
Also made the roughness of land and water shader uniforms for more control, don't know how useful that'll be.
Added in a shader and code for generating a temperature map, which then determines where ice will be drawn (just pure white). More complicated behavior could be added for better looking ice and a silly bug I'm unable to fix could be fixed (the shader uniform for the threshold for when a pixel is ice seems to be unable to be set properly). Also made the roughness of land and water shader uniforms for more control, don't know how useful that'll be.