A quick reply: I'll have to go soon.
The ocean_depth_1.png was the original colored version converted to grey-alpha.
It had the depth in the alpha channel and the ocean color in thr rgb channels.
Erik
erik wrote in Sat May 08, 2021 2:58 pm:A quick reply: I'll have to go soon.
The ocean_depth_1.png was the original colored version converted to grey-alpha.
It had the depth in the alpha channel and the ocean color in thr rgb channels.
vnts wrote in Sat May 08, 2021 3:48 pm:Slightly confused by why the grey+alpha (2 channel) depth texture is necessary?
The shader reads floor colour from an RGB texture (globe_depth.jpg). The shader reads depth from the r channel of the current grey+alpha texture (ocean_depth_1.png), while ignoring the information in the a channel (vec4 topoTexel = texture2D(topo_map, TopoUV); topoTexel.a = topoTexel.r; and then topoTexel.a is used everywhere ignoring the a channel.). Near ENBR on old nightly vs current: img.
Kind regards
erik wrote in Sun May 09, 2021 1:32 pm:it's necessary since The Gimp can't write alpha only images) and adopted the shader to use alpha only.
vnts wrote in Sun May 09, 2021 5:43 pm:You should be able to just use the PNG or JPG files I provided and it should 'just work' with issues fixed. As for merspeiler doing an orthophoto and water comparison using an under-construction feature on the mailinglist, it's just part of the orthophoto and WS2 thing [1][2], don't take notice.
Kind regards
vnts wrote in Fri May 07, 2021 4:28 pm:The lake at 47.72N, 11.73E Benih mentioned which had a water colour similar to this 2/3 of the time:
Quick override (only roughly the colour above):
vnts wrote in Sun May 09, 2021 5:43 pm:You should be able to just use the PNG or JPG files I provided and it should 'just work' with issues fixed.
erik wrote in Mon May 10, 2021 8:01 am:The deepest party of the ocean is almost 9km. The resolution of the PNG images is 65536 possible values per channel. Resulting in a step change of more than 7 meters per value. Which means you know sea-level, and you know 7 meters deep, but nothing inbetween. In reality anything deeper than 7 meters is not relevant for ocean floor coloring.
erik wrote in Mon May 10, 2021 8:01 am:The resolution of the PNG images is 65536 possible values per channel.
benih wrote in Sun May 09, 2021 9:10 pm:I like it and that particular looks closer to what i can see here
Users browsing this forum: No registered users and 9 guests