摘要: 使用Depth Textures: 可以将depth信息渲染到一张texture,有些效果的制作会需要scene depth信息,此时depth texture就可以派上用场了。 Depth Texture在不同平台上有不同的实现,并且原生的支持也不一样。 UnityCG.cginc里面定义了一些使 阅读全文
posted @ 2015-08-11 17:27 斯芬克斯 阅读(6427) 评论(0) 推荐(0) 编辑