But this time implement it outside the texture module. This makes more sense as only the volume textures need this feature.