Highlighting System

image法线贴图漫反射着色器

URL: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);

 

// ...

 

你可能感兴趣的:(System)