npruehs / ue4-rts

Real-time strategy plugin and showcase for Unreal Engine 4.
MIT License
747 stars 151 forks source link

Fix other tile sizes #74

Closed erikdubbelboer closed 6 years ago

erikdubbelboer commented 6 years ago

The call to UpdateTextureRegions has the tile size hardcoded to 256 which works for the example setup but fails when you either use a different SizePerTile or different world size.

Also removes an unnecessary SetTextureParameterValue every tick.

npruehs commented 6 years ago

Thanks for the PR! :)