How To Create and Shoot a 2D Laser in Unity

Subscribers:
138,000
Published on ● Video Link: https://www.youtube.com/watch?v=S6eRVwAtfOM



Duration: 0:00
92,866 views
1,900


Let's see how to create and shoot a 2D Laser in Unity, using Shader Graph and a bit of code. Laser is procedurally generated, which means no textures involved!

Check out the game I'm working in :D https://store.steampowered.com/app/1763860/Rabbits_Tale

Made in the 2D Renderer of the URP with Unity 2020.1

2D Sci-Fi Gun: https://assetstore.unity.com/packages/2d/textures-materials/2d-sci-fi-weapons-pack-22679?aid=1100l3Jhu
2D Scenario: https://assetstore.unity.com/packages/2d/characters/warped-caves-103250?aid=1100l3Jhu

Enjoy!

-----------------------------------------------------

2D LASERS AVAILABLE HERE: https://www.patreon.com/posts/unity-2d-laser-39800075

AND

HERE: https://www.gabrielaguiarprod.com/product-page/unity-2d-lasers-project

----------------------------------------------------


Courses

✦VFX GRAPH - BEGINNER: https://www.udemy.com/course/unity-visual-effect-graph-beginner-to-intermediate/?couponCode=17.99_UNTIL_20-09

✦VFX GRAPH - INTERMEDIATE: https://www.udemy.com/course/unity-vfx-graph-thunderlord-magic-effects/?couponCode=29.99_UNTIL_20-09

✦VFX FOR GAMES - BEGINNER: https://www.udemy.com/course/vfx-for-games-in-unity-beginner-to-intermediate/?couponCode=18.99_UNTIL_20-09

✦VFX STYLIZED EXPLOSION: https://www.udemy.com/course/visual-effects-for-games-in-unity-stylized-explosion/?couponCode=17.99_UNTIL_20-09



VFX Assets Packages

Unique Projectiles Vol 1: https://assetstore.unity.com/packages/vfx/particles/unique-projectiles-volume-1-124214?aid=1100l3Jhu

Unique Projectiles Vol 2: https://assetstore.unity.com/packages/vfx/particles/unique-projectiles-vol-2-156067?aid=1100l3Jhu

Unique Projectiles Vol 3: https://assetstore.unity.com/packages/vfx/particles/unique-projectiles-vol-3-212619?aid=1100l3Jhu

VFX Graph - Mega Pack - Vol 1: https://assetstore.unity.com/packages/vfx/vfx-graph-mega-pack-vol-1-207846?aid=1100l3Jhu

VFX Graph - Mega Pack - Vol 2: https://assetstore.unity.com/packages/vfx/vfx-graph-mega-pack-vol-2-207847?aid=1100l3Jhu

VFX Graph - Mega Pack - Vol 3: https://assetstore.unity.com/packages/vfx/vfx-graph-mega-pack-vol-3-223284?aid=1100l3Jhu




VFX Graph Tutorials

VFX Graph - Magic Orb:    • Unity VFX Graph - Magic Orb Effect Tu...  

VFX Graph - Weapon Effects:    • Unity VFX Graph - Weapon Effect Tutorial  

VFX Graph - Portals:    • Unity VFX Graph - Portal Effect Tutorial  

VFX Graph - Flamethrower:    • HOW TO CREATE A FLAMETHROWER in Unity...  

VFX Graph - Burning Paper:    • The Burning Paper Effect in Unity VFX...  

VFX Graph - Loot Drop:    • Unity VFX Graph - Loot Drop Effect Tu...  

VFX Graph - Lightning:    • Unity VFX Graph - Lightning Shader Ef...  

VFX Graph - Muzzle Flash:    • Unity VFX Graph - Muzzle Flash Effect...  

VFX Graph - Hits N Impacts:    • Unity VFX Graph - Hits and Impact Eff...  

VFX Graph - Character Effects:    • CHARACTER EFFECTS in Unity VFX Graph  

VFX Graph - Ice Attack:    • Unity VFX Graph - Ice Attack Tutorial  

VFX Graph - Stylized Fire:    • Video  

VFX Graph - Blood:    • Unity VFX Graph - Blood Tutorial (Pro...  




Shader Graph Tutorials

Shader Graph - Fire Flames:    • Unity Shader Graph - Fire Flames Shad...  

Shader Graph - Laser Beam:    • Unity Shader Graph - Laser Beam Tutorial  

Shader Graph - Fire:    • Unity Shader Graph - Fire Shader Tuto...  

Shader Graph - Tornado:    • Unity Shader Graph - Tornado Shader E...  

Shader Graph - Blood:    • Unity Shader Graph - Blood, Poison an...  

Shader Graph - Electricity:    • Unity Shader Graph - Electricity Shad...  

Shader Graph - Shield:    • Unity Shader Graph - Shield Effect Tu...  

Shader Graph - Waterfall:    • Unity Shader Graph - Waterfall Effect...  

Shader Graph - Galaxy:    • Unity Shader Graph - Galaxy Shader Tu...  

Shader Graph - Black Hole:    • Unity VFX & Shader Graph - Black Hole...  

Shader Graph - Ice:    • Unity Shader Graph - Ice Tutorial  

Shader Graph - Ground Cracks:    • Unity VFX - Ground Cracks | Fissure |...  

Shader Graph - Ghosts:    • HOW TO CREATE A GHOST in Unity - Shad...  

Shader Graph - Grow Shader:    • Unity Shader Graph - Grow Vines | Tre...  

Shader Graph - Interactive Snow:    • Unity Shader Graph - Snow Interactive...  

Shader Graph - Liquid Shader:    • Unity Shader Graph - Liquid Effect Tu...  

Shader Graph - Glowing Crystals:    • Unity Shader Graph - Glowing Crystals...  

Shader Graph - Clouds:    • Unity Shader Graph - Clouds Tutorial  



Other VFX Videos

Destroy / Explode Objects:    • Unity 2018 - Game VFX - Shatter / Des...  

Valorant - Phoenix Fire Wall:    • Valorant Phoenix Fire Wall Remake in ...  

Shoot Projectiles in FPS:    • Unity Tutorial - Shoot Projectiles in...  

Valorant - Sage's Wall:    • Recreating Sage's Wall from Valorant ...  

Doom Eternal - BFG-9000 VFX:    • DOOM ETERNAL BFG-9000 SHOT VFX in Unity  

Demon's Souls - Disintegrate Enemies:    • DEMON'S SOULS - DISINTEGRATE ENEMIES ...  



Enjoy and feel free to ask any questions you may have, I'll answer as quickly as possible. And don't forget to like and subscribe. Thank you!


✦ Follow on TWITTER: https://twitter.com/GabrielAguiarFX
✦ Like on FACEBOOK: https://www.facebook.com/gabrielaguiarprod
✦ Subscribe On YOUTUBE:


Unity 2D Laser Shader Graph Tutorial
2D Laser Shader Tutorial
Game Effects in Unity
Unity VFX Graph
#ShaderGraph
Laser Shader
Unity VFX
2D Laser
#Laser
#Unity