Highlighting System
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);// ...?
總結
以上是生活随笔為你收集整理的Highlighting System的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 总梦到家人死了好不好
- 下一篇: 做梦梦到牙齿掉了好多颗是什么意思