Highlighting System

Highlighting System

image法线贴图漫反射着色器

Unity论坛:http://forum.unity3d.com/threads/143043-Highlighting-System-Released

需要条件

Requires Unity 3.5.6 or higher.
This package requires Unity Pro, as it uses post-processing!
Now supports Unity iOS Pro! (Device with OpenGL ES2.0 required)

Highlighting System package allows you to easily integrate outline glow effect similar to those used in top AAA games.

三个高亮模式

三个高亮模式可用以满足你的需求:

1. 一个强调突出有用的框架下鼠标光标目前的对象。

2. 如果你需要注意,闪烁可以使用某些对象(游戏教程项目为例)。

3. (淡入/淡出)不断强调可用于不断突出显示对象(可拾取物品或当前选定对象的示例)。这种系统适用于静态和皮肤网格,并完全记录(请参阅文档。highlightingsystemdemo文件夹的pdf内)。

高亮示例

imageimageimage

imageimageimage

 

BASIC USAGE

1.Drop HighlightingEffect component to your camera(s)

2.Add HighlightableObject component to the roots of your gameObjects on Awake():

protected HighlightableObject ho;
 
void Awake()
{
   ho = gameObject.AddComponent();
}

3.At runtime – call one of available methods to turn on/off, fade in/out highlighting, etc:

// Fade in constant highlighting
ho.ConstantOn(Color.yellow);
 
// Turn off constant highlighting
ho.ConstantOffImmediate();
 
// Start flashing from blue to cyan color and frequency = 2f
ho.FlashingOn(Color.blue, Color.cyan, 2f);
 
// ...

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值