public function raw($tid)
{
if ($t = Texture::find($tid)) {
if (Storage::disk('textures')->has($t->hash)) {
return Response::png(Storage::disk('textures')->get($t->hash));
} else {
abort(404, '请求的材质文件已经被删除');
}
} else {
abort(404, '材质不存在');
}
}