UE5 | Eyeball Material in Unreal Engine 5.2 Tutorial

UE5 | Eyeball Material in Unreal Engine 5.2 Tutorial | Download Files

Download – https://www.patreon.com/posts/86338306
Patreon- https://www.patreon.com/Ashif
NFT – https://opensea.io/CGHOW
Twitter – https://twitter.com/cghow_
👉👉 If you Liked it – http://bit.ly/2UZmiZ4
Channel Ashif – http://bit.ly/3aYaniw
Support me on – paypal.me/9953280644
UE5 | Eyeball Material in Unreal Engine 5.2 Tutorial | Download Files

#cghow #UE5 #UE4Niagara #gamefx #ue5niagara #ue4vfx #niagara #unrealengineniagara #realtimevfx

â—ŹVisit – https://cghow.com/
Unreal Engine Marketplace – https://bit.ly/3aojvAa
Artstation Store – https://www.artstation.com/ashif/store
Gumroad – https://cghow.gumroad.com/

Creating an Eyeball Material in UE 5.2

Intro:

  • Hi guys, I’m Ashif Ali, and welcome to another tutorial! Today, I’m creating an eyeball material in Unreal Engine 5.2, and you’ll learn how to customize the eye color and create a blinking effect. You can find the project file on my Patreon.
  • First, make sure to subscribe to my YouTube channel and click the bell icon to get notifications for future videos.

Tutorial:

  1. Creating the Eyeball Material:
    • Start by creating a new material named “Eyeball.”
    • Use a sphere as the base mesh for the eyeball.
    • Import a blur noise texture and adjust its settings to create a basic eyeball texture with a black circle in the middle.
    • Sharpen the texture using SmoothStep and tweak its maximum and minimum values.
  2. Masking and Coloring:
    • Apply a mask to create the sharp edge for the black part of the eye and adjust the size using the SmoothStep function.
    • Add a gradient and mask it with the spherical coordinates to control the black and white areas.
    • Use a parameter to change the eye color (for example, blue).
  3. Creating the Blink Effect:
    • Add a gradient for the blinking effect using texture coordinates and the Sine function.
    • Mask the gradient to only apply to one side of the eye (top or bottom).
    • Animate the blinking effect by multiplying the time with the blink mask, adjusting its speed using a scalar value.
  4. Fine-Tuning the Material:
    • Adjust the blink speed and size using parameters, and connect it to the eye texture.
    • Use Power to adjust the sharpness of the blink, making the transition smoother.
    • Apply additional noise for a more dynamic look, and use the Vertex Normal to add some detail.
  5. Specular and Redness Effects:
    • Add a specular highlight to the eye to make it shine more realistically.
    • Use SmoothStep and Noise to add some redness around the eye’s edges to simulate irritation or veins.
  6. Pulsing Effect for the Eye:
    • Add a subtle pulsing effect to the eyeball while it blinks, using a Time and Sine function.
    • Adjust the pulse speed and intensity to make it feel natural.
  7. Final Adjustments and Rendering:
    • Once satisfied with the look, save the material and apply it to the sphere mesh.
    • Create an instance of the material and adjust parameters like color, blink speed, and specular intensity in real time.

Outro:

  • The eyeball material is now ready with a customizable color, blinking effect, and additional pulsing. Save the material and instance, and you can make further tweaks in the editor.
  • Thanks for watching, and keep learning!

Discover more from CGHOW | Ashif Ali

Subscribe to get the latest posts sent to your email.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from CGHOW | Ashif Ali

Subscribe now to keep reading and get access to the full archive.

Continue reading