This background from Yoshi’s Island is made out of two layers, the cave layer and the star layer behind it. When Yoshi moves, the parallax effect causes the star layer to scroll relative to the cave layer. Certain isolated pixels in the cave layer are transparent, so that whenever they align with a star in the layer below, they become white for one frame, creating the illusion of sparkling.



