hi, welcome to mix and gem hotel about game development. Experimentation. Today’s. Project is based on overwatch in the game. Every character has their own unique ultimate ability. Hanzo ultimate is a dragon strike in which he summons two dragons.

That move forward ball hitting opponents. My goal for this project is to try and build a similar effect using unity. So here are the steps I needed to follow to recreate the dragon strike, implement a first person, shooter controller, that I could shoot an arrow with work on the dragon, summon and movement and add some shaders for the dragon dissolve and portal animation.

I started off by importing unity, standard asset to the project and adding the FPS controller prefab to my scene. I downloaded 3d models of Hans O’s, buh-bye Bakker and Hans O’s arrow by beyond matter from sketchfab and attached them to my player.

Then I did a simple script: that added force to the arrow and then started a core team that waited some time before, actually showing up the dragon so headed over again to sketchfab to download this 3d model of a Chinese dragon by you, meow meow.

I had to do some adaptations on a 3d model, so I’ve used Maya to open it up and remove the legs from the dragon when the dragon model was ready to go. I created a prefab. There was an empty game, object with a dragon as a child, so on the main script, I simply instantiate that prefab and to make the dragon move.

I simply create a script for it that adds to its forward position in order to make the dragon dissolve, while showing up I needed to create a shader for it. So I downloaded the shader graph example project from unity that has a bunch of examples of shaders created using shader graph on that project.

There’s, a very cold dissolved example, so I used the same graph structure on my project, but instead of pulling the direction information from the green channel, which is vertical, I get the direction from the blue channel, which is forward to add a bit Of color glow to the model, I had a friend L, node, multiplied by a color node and connect it all to the emission property.

I had it back the shader graph example project and found this shader that as distortion to a static model in order to make it look like it’s. Moving up and down, I adapted the same structure from that shader graph to my project.

I struggled a little bit to understand how to set up the graph so that the model could also move horizontally like the game. But then I found out that the whole vertical movement was being based on a sign node.

So I tried adding horizontal movement using a cosine node and it turned out just like I wanted. At this point, I was able to duplicate the Dragons and add a time offset property to the shader so that the Dragons could rotate one after the other to create the same effect from the portal in which both dragons come out from.

I had an incredible help from the Twitter user Harry ELISA vajjis. He is super good and he even has a blog where he writes cool stuff about shader development. So you should check him out. Basically, he helped me set up a shader graph that moves the UV from the material diagonally with the noise texture all making it transparent.

So I created a model on Maya and applied the material with the shader to it. For some polish, I added a trail renderer to the arrow and some particles for when it leaves the bow I added more particles for when the arrows summons the dragon, like the stretched lines, the smoke and the shining circle glow.

Finally, I added some post-processing like Blum, chromatic aberration and some color grading and after a bit of adjustments, this is how it turned out [, Music ]. As always, the link for the project’s.

Repository is on the description below also, if you enjoy this video don’t forget to Like share and subscribe. If you have, it feel free to reach me out on my Twitter. If you have any questions until the next one, [ Music ], you

Source : Youtube

Related Posts


Please enter your comment!
Please enter your name here