Highlighting System
法線貼圖漫反射着色器
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內)。
高亮示例
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); // ...






