Mirroring won't keep up

Godot 4.2.1

I am adding some fog to my game, and it’s in a parallaxlayer. But it’s not really keeping up with the camera, so there is usually a blank area before I enter that area. I have already tried enabling “Ignore Camera Zoom”, but it’s still the same. Is there a way I could make it so it mirrors ahead of the camera?

My gut feeling is that you need to extend the parallax layer more past the end of the viewport, and check the setting the mirroring setting. Essentially you want it to be created off screen so when you scroll across it’s already been rendered. Hope that makes some sense, I’m not able to find the exact things you need right now, but I’ll try later if you need more help.

I don’t really understand. How could I extend the parallax layer? It’s already very huge.

Sorry, I was distracted and misunderstanding. I think your problem is actually that mirroring will only render 2 images at a time. If you make a new image made of 2 of the fog image so it’s twice as wide, does that fix it?

It actually did! Thanks :smiley:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.