Improving influence with convolution filters

Convolution filters are usually applied in image processing software, but we can use the same principles to change a grid's influence given a unit's value and its surroundings. In this recipe, we will look at a couple of algorithms to modify a grid using matrix filters.

Get Unity 2018 Artificial Intelligence Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.