Clickable grid on ground

Being very new to jME3, I have a question:



I want the “ground” to be a kind of grid. I have a texture (e.g. stones) which is being painted on the screen using terramonkey.



Now i want to place a “grid” on it to have, let’s say, 256 squares. If I hover with the mouse, I want it to highlight a bit and if I click a square I want it to remain highlighted?



Is this possible with terraMonkey or do I have to use a lot of boxes on the ground? :slight_smile:



Thanks for any hint!

I guess that you can do it with shader.



Add another texture defining highlighting to sheder you would use otherwise and modify this texture when you hover/click.