查看: 2904|回复: 4
打印 上一主题 下一主题

[特效] Lightning - Procedural Lightning (2D and 3D) 2.12 - 闪电特效

[复制链接]

2722

主题

42

听众

3万

积分

资深设计师

Rank: 7Rank: 7Rank: 7

纳金币
38268
精华
111

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

跳转到指定楼层
楼主
发表于 2017-2-3 20:58:05 |只看该作者 |倒序浏览

Snap6.jpg
5f8e36b1-481c-45b4-8ba5-cf84dc0fe5c6_scaled.jpg
7dd95bff-999a-4124-bf54-35d3d2ec6f38_scaled.jpg
20c5f8ed-3cc9-48e6-8762-0058c7b94a20_scaled.jpg
1bc3fa74-36f0-4a96-923b-1f5699c8a154_scaled.jpg
0193a44d-a223-40a7-94a0-50b13e03e161_scaled.jpg
5266ea58-7f14-44df-a579-ac2d5ea8bb2d_scaled.jpg
b3630a7c-5c5d-4058-9f8c-b4c75cb5392d_scaled.jpg
c8e02720-3fb2-4fa9-93c4-baf9f4df2e95_scaled.jpg
d426b036-2dab-4083-a78b-60b271eb1c6b_scaled.jpg

Requires Unity 5.0.4 or higher.


One license per human. This asset has been tested and runs great on iOS, Android, MAC and PC. Full C# source code and shader code is provided! Please ensure you are using the latest Unity to get the latest version of this asset.

Procedural Lightning and Thunder is an optimized drop in solution for lightning, electricity, thunder effects and even general line effects in your Unity project or game.

This isn't any ordinary lightning. Using an innovative shader that allows fading in and out, growth, billboarding and glow entirely on the GPU in one draw call, this lightning will run great on mobile and desktop alike.

You will get 5x CPU improvement and 10x LESS draw calls vs. the Unity line renderer, allowing you to show lightning even on low-end mobile devices. All lightning renders and updates on the GPU! There is even an option to generate the lightning on a background thread, freeing your main thread for other tasks.

Most other lightning solutions use the Unity line renderer which doesn't batch and has high CPU usage, especially for something with lots of lines and glow like lightning. Think of billboarding and coloring every line on the CPU every frame. YUCK! With this asset, the graphics card takes care of that so your CPU can do more important tasks.

Supports perspective, orthographic and orthographic xz planes.

I've added a nice spell system with force lightning, lightning beam, lightning ball, charged bolt and lightning whip. Easily extensible and customizable.

If that weren't enough, you also get 17 high def thunder sounds. I've literally spent weeks on end of my life making this the best lightning in the asset store, and I know it will serve you well.

Here's the full run-down on what Procedural Lightning and Thunder for Unity can do for you:

- A configuration scene to help you get the exact look you want for your lightning. Tweak the detail, width, glow, duration, chaos, forkedness, direction and much more. Bolts can be randomized with a seed to get the same bolt.
- One click to get the exact code and script to reproduce your lightning bolt.
- Manual and automatic mode for the script. Trigger your customized prefab manually or let it run automatically.
- A robust lightning script that lets you create lightning strikes with a large selection of parameters with near infinite possibilities.
- Lightning works great in many scenarios: thunderstorms, magic spells, static discharge and much more!
- Lightning branches fade in, jitter and grow to make your lightning really come alive.
- Storm cloud particle system that looks stunning when lit up by lightning.

I've also included a more high level script if you just want storm lightning in your game without having to configure very much stuff. This script contains:

- Normal and intense lightning strikes with appropriate brightness, thunder delay and thunder volume.
- Cloud only lightning option.
- 17 distinct thunder sounds.
- Random range of time for the next lightning strike.
- Option to illuminate the skybox when there is a lightning strike.
- Random range of lightning intensity.
- Force a lightning strike via script.
- Lightning centered around the main camera by default.
- Option to try and make sure every lightning strike is visible by the camera.
- Dark cloud particle system for storm clouds.
- Demo scenes showing some terrain and water with the ability to call lightning with keystrokes. Procedural Lightning for Unity also contains an advanced lighting system that allows you to generate point lights along the paths of your lightning for that extra realistic effect.

This asset contains a batch of prefabs to create lightning bolts, sphere lightning, cone lightning, lightning fields, arcs of electricity and chain lightning. 17 high def thunder sounds, as well as a storm cloud particle system that looks amazing when lit up by lightning, are also included. You can even seed your lightning to get the same appearance.

Don't spend time making lightning effects yourself from scratch. Save yourself time and money with this powerful yet easy to use plugin.

This asset is demonstrated in a HereVR sci-fi pack video, viewable from here: http://u3d.as/guN

Please read the Readme.txt file to get the most out of this asset. I am available at jjxtra@gmail.com to answer questions and help you out.

Best wishes for you and your project.

Known issues: Does not work on Unity 4.X on Mobile.


Lightning - Procedural Lightning 2D and 3D.rar

14.12 MB, 阅读权限: 10, 下载次数: 280

分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏1 支持支持0 反对反对0
回复

使用道具 举报

0

主题

3

听众

976

积分

初级设计师

Rank: 3Rank: 3

纳金币
6
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

沙发
发表于 2017-2-3 23:25:52 |只看该作者
谢谢分享。
回复

使用道具 举报

3

主题

2

听众

1275

积分

助理设计师

Rank: 4

纳金币
529
精华
0
板凳
发表于 2017-3-2 15:02:23 |只看该作者
效果非常棒,感谢分享
回复

使用道具 举报

0

主题

1

听众

166

积分

设计实习生

Rank: 2

纳金币
8
精华
0
地板
发表于 2017-5-22 10:03:49 |只看该作者
效果非常棒,感谢分享
回复

使用道具 举报

0

主题

10

听众

7317

积分

高级设计师

Rank: 6Rank: 6

纳金币
960
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

5#
发表于 2017-7-2 17:51:02 |只看该作者
谢谢分享谢谢分享
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

手机版|纳金网 ( 闽ICP备2021016425号-2/3

GMT+8, 2024-11-23 10:52 , Processed in 0.091665 second(s), 31 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部