UnitySpecialEffectWithDepth
Using depth data to achieve scanning effects, x-ray effects, and shield energy field effects. Version Unity5.6 +
Install / Use
/learn @chenjd/UnitySpecialEffectWithDepthREADME
UnitySpecialEffectWithDepth
描述:
利用深度信息实现扫描效果、x光效果以及护盾能量场效果。
版本:
Unity5.6+ (从5.5开始unity已经开始使用 reversed-z)
内容:
获取深度信息
Assets\RenderDepthMap

扫描网效果(ScannerEffect)
Assets\ScannerEffect

按C键触发/Press 'C'
穿墙透视效果(XrayEffect)
Assets\SeeThroughWall

能量场效果(ForceFieldEffect)
Assets\ForceField

ref:
【1】Siggraph2011_SpecialEffectsWithDepth_WithNotes。“Special Effects with Depth” talk at SIGGRAPH – Unity Blog
【2】Unity Shaders - Depth and Normal Textures (Part 2)
【3】Using Depth Textures Unity手册
【4】Unity - Get Unity - Download Archive Unity内置shader
【5】Makin' Stuff Look Good
