18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-20 22:04:59 +01:00

Reduce clouds noise

This commit is contained in:
2026-11-17 01:38:17 +01:00
parent 91c2d3aba9
commit b91f1f5747
4 changed files with 22 additions and 13 deletions

View File

@@ -58,7 +58,7 @@ void main()
// pixel between two of them reaches as far both ways). their range holds the history, and the nearest stands for a pixel of
// another frame which has no history
// the share of the pixels of this frame next to a pixel of another frame, of the share of a pixel of this frame
const float BESIDE_SHARE = 0.35;
const float BESIDE_SHARE = 0.65;
int spacing = max(stride, 1);
ivec2 past = (texel + spacing - phase) % spacing;
bool fresh = all(equal(past, ivec2(0)));