Added access to current_texture from shader.