Download

Lerping multiple Cubemaps -> Flicker

Hi there. I’m trying to lerp multiple Cubemaps of a SkyLight depening of the Time of Day.
For this I’m using a float [0,1] as the input and using inRange to determine which Cubemap to take.
After that I use the “Map Range clamped” on this range to get the Alpha for the Cubemap Blend.
Unfortunately, the Cubemaps flicker/switch back when the Section of the Cubemap ends:
https://streamable.com/x3mg

My blueprint looks like this:
b1f57d0152af69777a5b18f55ae40b4f95e943e5.jpeg
fbd907beebbc5d2afa4153883893eeefeb966e49.jpeg

And the call looks like this:
3eef7b58423721d50b6d036d4aa1759e0063a166.jpeg

Someone knows the issue? The float seems to be working correctly.

€dit: I purposely blend between the same Cubemap to stretch the cubemap’s time.

Only very blind shot: try to clamp that value between 0 and 0,95 (not 1), in my project i had some flickering problems and that clamp solved it
btw, whats “seiken” ? :slight_smile:

Clamping doesn’t work. The Problem persists.

I updated the function a bit,
but somehow the Cubemap’s Blending gets resetted first, and THEN the new SourceCubemap applied.


bfcaca28777abeeaf31767037c00e18045a283e4.jpeg