Unity VFX -- (1)概览

        视觉特效(Visual Effects,VFX)在实时3D项目中能够带来惊艳的效果,其范围很广,比如水花四溅、迷雾、火焰、爆炸效果等。

         如果没有VFX,整个环境会让人感到非常呆板无聊。这些特效会让环境生动起来,为场景带来生命力。

VFX是什么?

        VFX可以被分为两个类别:

  •         环境效果(Enviromental effects):用来表示物理现象,比如火焰、雨水、迷雾或爆炸等。下图是一个龙卷风的特效例子:

  •         游戏效果(Gameplay effects):用来增强或吸引特定用户交互动作的吸引力。比如在游戏中角色挥动武器时带的残影,玩家释放的技能,游戏中选中一个物体时发出的闪光提示等。下图是一个玩家开车穿过了圆环时的类似彩色礼炮的特效:

 识别VFX小练习

        

        观察上面两幅图:

  •         图中有哪些环境或游戏特效?
  •         这些特效在游戏中具体的目的是什么?
  •         这两种特效是如何增加整体的游戏体验的?

Particle System vs VFX Graph

        Unity有两套独立的VFX开发系统:粒子系统(Particle System)和VFX Graph。

        粒子系统是Unity默认的基于组件(component-based)的系统,在大多数Unity项目中我们都能见到它的身影。VFX Graph则是比较新的,基于节点(node-based)的系统。VFX Graph非常强大,但学习起来会更加有难度。

        如下是一些使用VFX Graph实现的非常复杂的特效例子:

 打开并运行示例工程

        示例工程的资源到learn.unity.com中下载:https://connect-prd-cdn.unity.com/20230208/6aa172d7-d8da-4645-a046-3f3710266015/CreativeCore_VFX_2021.3LTS.zip

        解压后,在Unity Hub中导入这个工程,具体方法参考:

        Project setup processes - Unity Learn

        打开工程后,打开TutorialScene_VFX_Outdor场景(Assets > CreativeCore_VFX > Scenes)

        场景中有一个小火堆

        点击Play看看效果

 播放、暂停和重播火焰特效

        默认情况下,场景视图中粒子系统不会播放。我们需要新选中它。

        1. 在Hierarchy中,点开FirePit,选择Fire_ParticleSystem_Prefab。在场景视图中会看到火光的粒子系统开始播放了。

        2. 在场景视图的右侧,Particle Effect 菜单中选择Pause,Play,Stop和Restart来看看效果。

        在场景视图中使用Particle Effect菜单,对于调试开发粒子系统来说非常方便,可以及时看到效果。

        观察一下这个火焰效果,我们可以注意到粒子系统只是一系列简单的独立物体在不断地飘向空中。这些火苗是由一些简单的纹理来做的。

  • 0
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
The Ultimate VFX Construction Kit: Create realistic fire, smoke, lightning, raging storms, shockwaves, and more!! NOTE: SRPs are not supported. This asset works with the default 2D/3D modes. ▲ × ❰❰ TUTORIALS ❱❱ × ▲ × ❰❰ DEMOS + DOCUMENTATION ❱❱ × For previews, support, suggestions, and general discussion for this asset, check out the official Unity forum support thread! ▲ × ❰❰ FORUM SUPPORT THREAD ❱❱ × ● Suitable for both 2D and 3D games. While containing a MASSIVE number of effects unique ONLY to this package, Ultimate VFX also includes... - Action VFX - Storm VFX - Particle Force Fields - Particle Plexus - Advanced Particle Scaler - Particle Twister Also featuring: ▲ 300+ Prefabs - a massive collection of unique Shuriken particle system prefabs with varying levels of layered complexity to create amazing visual effects. ▲ 200+ (over 600MB) of Textures - want to create your own ultra high quality effects for next-gen platforms and resolutions? Dive into this monstrous arsenal of sprites and spritesheets and make your own! ▲ XP Titles - a new, experimental expansion with prefabs suitable for title screens, game menus, credit rolls, etc. - Titles GIF #1 ▲ XP Shockwaves - currently in its early stages, this expansion delivers epic hits and impacts into your game with incredible detail and colour! ▲ Exclusive Interactive Demos - see just how Ultimate VFX can bring your project to the next level with these fully sourced demo packages. - Game Demo GIF #1 - Fireworks Demo GIF #1 ▲ MIR-2II Shader Pack - most of the particle effects included use the default Unity particle shaders. Sometimes, that's not good enough. Ultimate VFX ships with several additional shaders to drive your visual design above and beyond with distortion, intersect highlighting, masking, and more. Check out the animated GIFs below: - Force Affector GIF #1 - Force Affector GIF #2 - Force Affector GIF #3 - Force Affector GIF #4 Best of all, it's constantly updated! =D Promo media (videos, images, etc.) uses the Post-Processing Stack and the Global Fog image effect by Unity Technologies.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

亦枫Leonlew

希望这篇文章能帮到你

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值