Original Post — Direct link
over 2 years ago - /u/Riot_PJacques - Direct link

Originally posted by Shronklet

There is a Node called ScreenPosition in the Material Shader in UE4 which basically pans the texture you are using everytime u move. I think they just used the Node for it, it's simple but has an awesome look to it.

Very close guess! We are actually using the Absolute World Position node to grab the position of the gun in the world. Then we mask out the Z axis so we can use the X and Y to offset the texture in their own axis.

If you walk in a straight line on the X-Axis of the world, the orb will spin horizontally, and if you walk on the Y-Axis, it will spin vertically! You would also notice that if you go straight up or down, the orb won't move ;)

Similar to what we did on Spectrum for the color shift, but in this case we used all 3 Axis of the Object Position Node to control everything.

over 2 years ago - /u/Riot_PJacques - Direct link

Originally posted by Shronklet

oh yeah thats actually soo cool so you basically fake an orb. Thank you for the answer I'm still a junior in the industry, helps a lot!!!

That's only for the movement! There is actually something in the shader to fake paralax to give more depth and a multi layer effect.

All props for the shader goes to Chris Stone! I'm just a VFX Artist lol

over 2 years ago - /u/Riot_PJacques - Direct link

Originally posted by Clownsonged

Sorry for the late reply but does that mean it very quickly changes it pattern when omen ulting and yoru e'ing? :)

Sorry for the even later response!
You would be right yeah. The rotation of the ball is defined by your location in x and y in the world. If you could teleport with the gun equipped, you would see the pattern snap into a different position.