UE5 Procedural Grass Using Bezier Curves (Ghost of Tsushima Technique)

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

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

  • @BooneyTune
    @BooneyTune 5 หลายเดือนก่อน +7

    This is actually an advanced technique. Thanks for looking into it and sharing

    • @TechArtAlex
      @TechArtAlex  5 หลายเดือนก่อน

      Thanks for watching!

  • @givemepen0
    @givemepen0 2 หลายเดือนก่อน +2

    TH-cam front page really feeding me this gem, great explanation

  • @UriahGnu
    @UriahGnu 5 หลายเดือนก่อน +5

    Good to see ya back in the mix, love your content!

    • @TechArtAlex
      @TechArtAlex  5 หลายเดือนก่อน +2

      Thanks! It was a busy period for me, but I've been wanting to make this one for a long time.

    • @UriahGnu
      @UriahGnu 5 หลายเดือนก่อน +2

      @@TechArtAlex btw you might be interested in checking out the original Outerra blog where Ghost of Tsushima got the idea, there it is used at a planetary scale.

    • @TechArtAlex
      @TechArtAlex  5 หลายเดือนก่อน +2

      @@UriahGnu Yeah, I have seen it, great stuff.
      The LOD system they used for it works a lot like how Unreal ended up solving volume preservation for nanite foliage.

  • @lordkelvin1
    @lordkelvin1 5 หลายเดือนก่อน +1

    All your videos are top notch, keep em coming!

  • @swoorp
    @swoorp 5 หลายเดือนก่อน +1

    literally was looking for this haha, thank you

    • @TechArtAlex
      @TechArtAlex  5 หลายเดือนก่อน

      Lucky day! Thanks for watching.

  • @muhammetemirbulut6511
    @muhammetemirbulut6511 5 หลายเดือนก่อน +2

    very nice bro good to see back

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

    Update: My fault, missed the subdivision adding for the rectangle itself.
    Great tutorial! Never throught mathematics could be so amazing. I have one problem for now, after adding "transform vector" node, width stops working, goes back to simple rectangle. But stil works with Local Space option, checked everything few times for now

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

    Still looking to dig into this but I agree with people here - your stuff is sooo good. Are you at a studio anywhere?

    • @TechArtAlex
      @TechArtAlex  4 หลายเดือนก่อน

      Thanks! No, I'm not at any studio currently. Just doing this stuff independently.

    • @arvinmoses
      @arvinmoses 4 หลายเดือนก่อน

      @@TechArtAlex wow the implementations are very clean. Really probably my favorite source for useful production viable shader tricks

    • @arvinmoses
      @arvinmoses 4 หลายเดือนก่อน

      @@TechArtAlex any thoughts on how to break up the shadow map? I'm testing some painterly rendering techniques and it works well except the shadow maps are still super crisp

    • @TechArtAlex
      @TechArtAlex  4 หลายเดือนก่อน

      @@arvinmoses Depending on the stylization you're going for, you can potentially extract the shading/shadows in the postprocess by looking at the difference between the base color and the final scene color. By isolating the difference, we can tell how the scene is shaded.

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

      @@TechArtAlex ty! I'll try it. Ive used this before to grab the lighting values and map to a ramp, but never tried grabbing cash shadows from it. The other thing Im testing is to maybe grab the stencil pass and create a breakup there. Thank you!!

  • @NorwinLabs
    @NorwinLabs 2 หลายเดือนก่อน

    Random queston. So I have made it though episode 7 and When viewed at a low angle, my grass material has a black shading issue on it. I believe it is too low and is in the ground when viewing in the material editor. How can I fix that? Is it a model issue?

    • @TechArtAlex
      @TechArtAlex  2 หลายเดือนก่อน

      Is the artifact only in the material viewer, or does it also appear on the grass in level?

    • @NorwinLabs
      @NorwinLabs 2 หลายเดือนก่อน

      @@TechArtAlex both. It tanks my fps and if I turn off world position offset, or switch it to transparent it goes away and viewing it anywhere, it has it. I suspect it is detecting it is underground. When I spawn it, I have to elevate it with pcg because it spawns clipped into the ground. Maybe it's contact shadows?

    • @TechArtAlex
      @TechArtAlex  2 หลายเดือนก่อน

      @@NorwinLabs of it is clipped below the ground then your mesh pivot or UVs must be different than how I've set them up in the example. This could be adjusted but I set it up the way I did to minimize shader math.
      It could also be the setting "affects distance field lighting" in the mesh spawner. This setting often causes black artifacts.

    • @NorwinLabs
      @NorwinLabs 2 หลายเดือนก่อน

      @@TechArtAlex It was affects distance field lighting. I was using the wrong pcg graph. Thanks!

  • @evzircon4152
    @evzircon4152 2 หลายเดือนก่อน +1

    My grass cast a square shadow, what to do?

    • @TechArtAlex
      @TechArtAlex  2 หลายเดือนก่อน +1

      The only reason I could see that happening is if you were using raytraced shadows without enabling the feature "use WPO with raytracing".
      I strongly suggest you don't use raytraced shadows for the grass, as it will be extremely expensive. I talk about shadows more on a later video.

    • @evzircon4152
      @evzircon4152 2 หลายเดือนก่อน

      @@TechArtAlex Thank you! Just wrong shadows misled me

  • @UnrealArtist
    @UnrealArtist 5 หลายเดือนก่อน +1

    Thank you so much,

    • @TechArtAlex
      @TechArtAlex  5 หลายเดือนก่อน

      Thanks for watching!

  • @Galaf
    @Galaf 29 วันที่ผ่านมา

    Is that an optimized technique, though?
    How performant would that be in today's world?
    Nice video!

    • @TechArtAlex
      @TechArtAlex  29 วันที่ผ่านมา

      Yes, this is the same technique used in Ghost of Tsushima, which was able to render about 100k blades of grass on PS4. In Today's world, it can do millions as you'll see in later videos.

    • @Galaf
      @Galaf 29 วันที่ผ่านมา +1

      @@TechArtAlex Thanks a lot, I actually caught the latest video afterward!
      I think my computer would have an issue with PCG. 32Gb just doesn't cut it and I need to upgrade... :(

    • @TechArtAlex
      @TechArtAlex  29 วันที่ผ่านมา +1

      @@Galaf I also just released a video on compute shaders in PCG. This was the last missing ingredient used in Ghost of Tsushima's grass that I unfortunately couldn't include in the original video series (since it is new to 5.5) but it should allow for some significant performance improvements in PCG when spawning large numbers of instances.
      But if you can't use PCG, the foliage tool or landscape grass method will work fine with most of what I show here.

    • @Galaf
      @Galaf 29 วันที่ผ่านมา +1

      @@TechArtAlex Thanks a lot, I'll give it a look. And buy new RAM too... :)

  • @GMTechArt
    @GMTechArt 5 หลายเดือนก่อน +1

    Alternative - th-cam.com/video/gfQNjC69PCM/w-d-xo.html

    • @TechArtAlex
      @TechArtAlex  5 หลายเดือนก่อน

      A great approach for sure