This is in lieu of height map for the floor, it shows how the tiles are moving, the shade of the tiles changes with location.
I send the tile world position to the fragment shader as an int and change the tile color . . so as pacman moves from 0 to 256 in the z direction, the green value (in R G B ) changes between 0 to 256 (R remains constant at 0.5 or 128 and Blue takes the x position
This is in lieu of height map for the floor, it shows how the tiles are moving, the shade of the tiles changes with location.
I send the tile world position to the fragment shader as an int and change the tile color . . so as pacman moves from 0 to 256 in the z direction, the green value (in R G B ) changes between 0 to 256 (R remains constant at 0.5 or 128 and Blue takes the x position