Create mask based on texture values

Since we’re heavily using tileables in our game I though this would be a better approach than being limited by a RGB (3 channels).