waterbackground - ArcadeTV/megadrive-samples GitHub Wiki

Image by Davit Masia
I came across this effect in the main menu of Konami's Double Dribble. How this works is rather simple:
- The
plane scroll modeis set toline scroll(VDP register $0B) - The
hscroll tableis pre-filled with numbers that represent a sinus style offset for each line. - The plane is then moved vertically by writing an incremented value to the
vscroll table, while the graphics are tiled across the plane's dimension.