Tile Identifier/Tile Position within TileSet Shader?

For the kind of effect you want to achieve you don’t really need shaders. Here is an example I did a while ago Tilemap unique per tile "visual" offset/displace - #3 by mrcdk It’s not the same effect but you can tweak it to make it so.