chenjd / UnitySpecialEffectWithDepth

Using depth data to achieve scanning effects, x-ray effects, and shield energy field effects. Version Unity5.6 +

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UnitySpecialEffectWithDepth


描述:

利用深度信息实现扫描效果、x光效果以及护盾能量场效果。

版本:

Unity5.6+ (从5.5开始unity已经开始使用 reversed-z)


内容:

获取深度信息

Assets\RenderDepthMap

QQ截图20170619232147.png

扫描网效果(ScannerEffect)

Assets\ScannerEffect

12.gif

按C键触发/Press 'C'

穿墙透视效果(XrayEffect)

Assets\SeeThroughWall

123.gif

能量场效果(ForceFieldEffect)

Assets\ForceField seethewall4erddw33.gif

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

About

Using depth data to achieve scanning effects, x-ray effects, and shield energy field effects. Version Unity5.6 +

License:MIT License


Languages

Language:ShaderLab 81.9%Language:C# 18.1%