查看: 1742|回复: 0
打印 上一主题 下一主题

创建光束效果详细步骤(上)

[复制链接]

5552

主题

2

听众

8万

积分

首席设计师

Rank: 8Rank: 8

纳金币
-1
精华
11

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

跳转到指定楼层
楼主
发表于 2012-2-20 13:41:03 |只看该作者 |倒序浏览


Light beams are  only visible if part of the light is scattered by objects: tiny particles like dust, water droplets (mist, fog, rain)… In games this implementation used for tense or dusty environment.  Here an example from Need for Speed Hot Pursuit 2010;

Click to image for bigger size
I’m going to show to you how can create light beams for your game. You can improve your game graphics with simple 2d sprite and a script.
First of all, you need some ptoho editing tool. I’ll use photoshop for this tutorial.
Beam Texture Creation
1.First, create a empty Photoshop document with transparent background sized 400×500. Then paint current layer with some dark color. I used dark gray.

2.Then create three guides for your lightbeam start point. I’ll use this for spot light so i make start point very narrow.

3.And create a triangle with lasso tool. This will be our beam.




4.Selected gradient tool and select “Foreground to Transparent” preset from presets window.




5.Be sure your foreground color is white. Draw graident from top to bottom of selection.



6.And now drop opacity value from layer window to 15






7.Remove the black layer and save as transparent png to unity folder.

And we’ve a beam texture. Now its time to create asset and materials.
分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

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

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

GMT+8, 2024-11-12 02:18 , Processed in 0.118090 second(s), 33 queries .

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

© 2008-2019 Narkii Inc.

回顶部