Hello there!

After a few days away,  I returned to the game.
This time I will create the grid material that will appears when the player pick a “card” to place in the terrain.

Here’s the video with the result…Still need to polish, but, it’s a working process. 🙂

Check the step-by-step below:


In Photoshop I made a 256×256 tileable grid to (obviously) tile in the material.

Grid Texture
Here’s the material with some random texture into the terrain.

Terrain Material

Now, we just just have to drive the “Intensity” parameter to make the grid glows. For this we can use a Timeline.
First, we create the Dynamic Material Instance in the Construction Script:

Construction Script

And after that, for testing purpose, we can use a key input to simulate the drag and drop of the “card”.

Finished Material

That’s it for today, next post I will probably implement a interface to drive the material while drag and drop the “card” (I’m still don’t know  how to call it).

See you in the next post.