Foliage Translucency - UE4 Materials 101 - Episode 30

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.พ. 2025
  • In this video, we begin a new series on improving the rendering quality of foliage and vegetation in Epic Games' Unreal Engine 4. The focus this week is on foliage translucency. We start with the leaf wiggle shader that we created in Episode 12. For translucency, we use a Shading Model on the root called Two Sided Foliage - and create a special mask of just the leaves to define where to apply the translucency.
    Download the textures used in this video:
    www.bencloward...
    www.bencloward...
    Episode 12 - Rustling Leaves Shader:
    • Rustling Leaves Shader...
    ------------------------------
    Learn more!!
    Other videos like this one:
    www.youtube.co...
    • Creating a Fern Plant ...
    Web Resources
    docs.unrealeng...
    twvideo01.ubm-...
    Shader Book Recommendations
    www.bencloward...
    ------------------------------
    Learn to write shaders in HLSL:
    • HLSL Shader Creation 1...
    • HLSL Shader Creation 2...
    • HLSL Shader Creation 3...
    ------------------------------
    Theme Music
    Peace in the Circuitry - Glitch Hop
    teknoaxe.com/Li...
    Background Music
    Crying Voice- Burning
    / cryingvoicemusic

ความคิดเห็น • 43

  • @forshera
    @forshera 4 ปีที่แล้ว +11

    Your new videos are seriously the highlight of my week. Great stuff!

    • @BenCloward
      @BenCloward  4 ปีที่แล้ว +2

      Glad you like them!

  • @dimitriskoutris6139
    @dimitriskoutris6139 4 ปีที่แล้ว +1

    I really look forward to your videos every week :) The web resources and stuff u have is also helpful too :)

    • @BenCloward
      @BenCloward  4 ปีที่แล้ว +1

      Glad to hear that at least one person is reading my descriptions. :)

    • @dimitriskoutris6139
      @dimitriskoutris6139 4 ปีที่แล้ว

      @@BenCloward Yeah bcs it kinda shows your thought process and give insight in stuff you maybe couldn't explain in a small duration video :) Thank you for giving back to the community!Guys like you made my dream come true in a country that doesn't provide universities or pretty much any knowledge about art graphic pipelines and ue4 :)

  • @medmel2160
    @medmel2160 4 ปีที่แล้ว +2

    Mister, your tutorials are absolutely excellent! Fresh, new and rich. SUBLIKE !

  • @boycececil666
    @boycececil666 3 หลายเดือนก่อน +1

    thanks your tutorial is really great!

  • @marciopereira1726
    @marciopereira1726 4 หลายเดือนก่อน +1

    Awesome 😎

  • @musicdudem6673
    @musicdudem6673 3 ปีที่แล้ว +2

    Ah this is amazing. I would love to see what you think of the new Megascans Trees

  • @BloodCZE
    @BloodCZE 4 ปีที่แล้ว +1

    Oh yes! Foliage, my favorite :) Thanks for it

  • @solarstoned
    @solarstoned 2 ปีที่แล้ว +1

    thanks for such a great insight into the Unreal Engine..... tips are amazing.......what we can do now...savage 🍀

  • @Gusando
    @Gusando 3 ปีที่แล้ว

    I just found your channel and I love your content!, its super helpful. thank you

  • @soniczhou8255
    @soniczhou8255 4 ปีที่แล้ว +1

    Great job! Keep going!

  • @syntheticelementvids
    @syntheticelementvids 4 ปีที่แล้ว +1

    Great stuff, thanks a lot!

  • @jaymike5062
    @jaymike5062 4 ปีที่แล้ว +1

    Your tutorials are just phenomenal.
    Any plans for landscape materials? :)
    Specifically material blending. Taking the texture we created a parallax map with and creating a distance field where it fades out to a flat texture, and then blending between 2 or more textures. Also, in previous videos where you skipped over not showing how you made the material functions is actually an unintentionally clever way to get people to think about how the materials are working. I have only been at this for a couple weeks now (literally I wake up, eat breakfast and start to work just messing around in the engine seeing what I can do, all the way to late night) I actually had a 'dream' last night about creating materials lmao.
    1. Creating a drop off between the parallax map and the flat version of the texture
    2. Blending between two or more parallax occluded textures
    4. Changing the textures with macro/micro variations
    3. Auto Blending based on the direction the material is facing (if that's even how you'd call you)
    4. Blending puddles (maybe the puddles we created earlier?) into the landscape based on the heightmap

  • @AhmedHasan91
    @AhmedHasan91 4 ปีที่แล้ว +1

    thanks man, you are awesome.

  • @LucianoJacomeli
    @LucianoJacomeli 4 ปีที่แล้ว +2

    very cool, i think you can use other values like Roughness, Specular and put your subsurface mask all together in a single Masked Texture!

  • @yaschan99
    @yaschan99 3 ปีที่แล้ว +2

    Really great video as usual.
    Just one really beginnet question. This requires baking, but we can’t bake a larger exterior scenes as it will quickly consume very very large amount of memory.
    How is translucency effect managed in actual production where we may have 10km square levels?

    • @remon563
      @remon563 3 ปีที่แล้ว +1

      hi Jaakko did you got your answer ? Do we have a real-time alternative (besides Lumen ^^) ?

    • @yaschan99
      @yaschan99 3 ปีที่แล้ว

      @@remon563 I have not found answer to this. Maybe the larger levels are split up somehow to smaller pieces and managed like that.

  • @SenEmChannel
    @SenEmChannel 4 ปีที่แล้ว +1

    Oh. This is what i looking for

  • @720daivid7
    @720daivid7 4 ปีที่แล้ว +1

    would you teach some course about hlsl shader in ue4,thank you

  • @turalmemmedov3648
    @turalmemmedov3648 4 ปีที่แล้ว +2

    Thank you. I didn't know that we have to build the light for accurate 2sided foliage shading. It is not mentioned anywhere. Not even in documentation or official tutorials or at least I never saw it )). I thought the dynamic light gives us all the directionality information for such effect and baked light gives us less accurate missing directionality information. :/ Does this mean we have to bake light for all SSS shading models in ue4? For example subsurface profile too? Or is spesific only for this shading model?

    • @momomadi2
      @momomadi2 4 ปีที่แล้ว

      me too that why i couldnt do any sss properly

  • @corentart8302
    @corentart8302 4 ปีที่แล้ว +1

    You are the best thank you so much

  • @remon563
    @remon563 3 ปีที่แล้ว

    could we use the Foliage AO mask to "fake" the Subsurface somehow on real-time lighting ?
    I can't bake my lighting yet we would love to add the subsurface effect.

  • @ninomancuso7021
    @ninomancuso7021 3 ปีที่แล้ว

    what do we do if we dont havean opacity mask?

  • @cmds.learning7426
    @cmds.learning7426 4 ปีที่แล้ว +1

    thanks!

  • @ankapetkova8634
    @ankapetkova8634 4 ปีที่แล้ว

    Your tutorials are very easy to follow, anyway I am still waiting for something like LEGO plastic TRANSPARENT brick material (or some sort of such thing), where the parts that are edges (that is where you actually see the thickness of the material) looks way darker than the rest of the surface, it should have feeling of a depth, not just like some thin plastic transparent foil, if you know what I mean. Pity we cannot post pictures in our posts, I would show you some examples of what I mean...

  • @cmds.learning7426
    @cmds.learning7426 4 ปีที่แล้ว

    Hi benm does epic has a road for coding shader models like unity ?

  • @baorichard4345
    @baorichard4345 4 ปีที่แล้ว +6

    FInally, something about foliage!!!!!!

  • @manelreig6694
    @manelreig6694 4 ปีที่แล้ว

    thanks for the video...is this with raytracing?

    • @BenCloward
      @BenCloward  4 ปีที่แล้ว +1

      No, none of my videos have used ray tracing at all so far.

    • @manelreig6694
      @manelreig6694 4 ปีที่แล้ว

      @@BenCloward thanks for the answer, so as at one point you bake the light, I guess the bush, directional light and skylight is set to static?

  • @hiddenstones3345
    @hiddenstones3345 3 ปีที่แล้ว

    When your Leaf move you can see a weird looking on ur leaf like if the UV move

  • @МиколаТовкмак
    @МиколаТовкмак ปีที่แล้ว

    🧐

  • @baorichard4345
    @baorichard4345 4 ปีที่แล้ว

    first

    • @BenCloward
      @BenCloward  4 ปีที่แล้ว +1

      LOL - I don't think my channel is big enough for "first" to be a thing. :)

    • @baorichard4345
      @baorichard4345 4 ปีที่แล้ว +1

      @@BenCloward It will be a big channel soon~

    • @iiyaman69
      @iiyaman69 3 ปีที่แล้ว

      @@BenCloward not yet :P

  • @jennychouart
    @jennychouart 3 ปีที่แล้ว +1

    Wow, thank you for the tutorial!!