apply opacity to cache