Cubyz icon indicating copy to clipboard operation
Cubyz copied to clipboard

Add fog occlusion for biome fog

Open ikabod-kee opened this issue 1 year ago • 2 comments

ikabod-kee avatar Jul 26 '24 18:07 ikabod-kee

So it wouldn't draw stuff behind the fog?

IntegratedQuantum avatar Jul 27 '24 06:07 IntegratedQuantum

Correct!

ikabod-kee avatar Jul 27 '24 06:07 ikabod-kee

I don't think this is feasable. A simple heuristic (like assuming the biome fog density as the highest density) won't work because placed blocks can have less dense fog. So we only know the fog density of pixel after transparent rendering, and since that's the last stage we cannot cull anything based on that.

IntegratedQuantum avatar Nov 24 '24 20:11 IntegratedQuantum