Flipbook Animation - UE4 Materials 101 - Episode 5

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

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

  • @Blackn0m
    @Blackn0m 7 หลายเดือนก่อน +12

    Thanks for the great videos! I couldn't find, by far, anything more clear than this series!
    To future folks wondering, where the period of time came from:
    You can find the time period by dividing the number of segments you have in your texture by the number of frames you want as a result. So in the video we had a texture with 36 segments and wanted to reach a total of 24 fps, then we divided 36/24=1.5 secs. Technically speaking you would need 1.5 seconds to play your 36 segments in 24 frame rate. So you would have to divide (texture segments)/(target fps). Hope this helps.

    • @NematekGSD
      @NematekGSD 7 หลายเดือนก่อน +1

      Awesome and thanks for the info. I wondered how he arrived at 1.5 seconds. Figured it had to be associated to frame rate but didn't give it another thought. Your post made it clear.

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

      Thank you very much for answering my confusion

  • @northzealand
    @northzealand 3 ปีที่แล้ว +40

    These tut should be added to the main epic unreal engine resources - they are explained so everyone can understand it - please make more sir

  • @joedanger4541
    @joedanger4541 3 วันที่ผ่านมา +1

    I was hoping for a solition with calculations and you delivered. thank you

  • @SmetadAnarkist
    @SmetadAnarkist 4 ปีที่แล้ว +27

    Thank you, it's been difficult to find someone that explains shaders through and through in a way that's understandable. And you manage it great. Keep it up!

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

      Man his tutorial is exactly what I was looking for? Sir, can you please explain the fundamentals of Niagara?

  • @shakaama
    @shakaama 2 ปีที่แล้ว +40

    This was excellent.
    NOTE: the sprite sheet is under STARTER CONTENT > TEXTURES > T_Explosion_SubUV

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

      thankyou for that!

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

      How can we make our own sprite sheets to make our custom flipbook by laying out frames in a grid like that shown in the video

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

      @@sauravrao234 using DCCs, sidefx Houdini is pretty good at these tasks

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

      谢谢!

  • @mattross9562
    @mattross9562 2 ปีที่แล้ว +6

    Ben you are a glorious communicator and a wonderful human being. Thank you for your work!!!!

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

    Really thanks so much, I have searched for good information about shaders in unreal engine and in general, but i have not found nothing until I find your tutorials, the are of an excellent quality. Thanks so much

  • @holychubby8523
    @holychubby8523 9 หลายเดือนก่อน +1

    I believe you make the best tutorial for materials. I sincerely appreciate it.

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

    You are fantastic, clear, linear and straight on the point! Thanks for your videos!

  • @umutergunes1137
    @umutergunes1137 10 หลายเดือนก่อน

    Insane tutorial, I applied your technique into my UE5 Project and it worked and you saved me a lot of time. Thanks A lot ❤❤

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

    This is the best shader tutorial series using Unreal Engine

  • @BR1.618
    @BR1.618 7 หลายเดือนก่อน +1

    To stop the animation and control it:
    - You can still use Unreal's Flipbook function.
    1. Create an MPC(Material Parameter Collection), make a new parameter and name it, like "AnimationPhase" or something.
    2. Drag the MPC into the the material graph so it becomes a node. Choose in the node the parameter name you made previously and plug it into the "AnimationPhase(0-1)(S)" input.
    3. In whatever blueprint that you want to control it from, add a "Set Scalar Parameter Value", choose the MPC and the parameter name, and there you go.
    4. Control the value however you want, which most of you probably gonna use a Timeline - which I assume you already know how to use it.
    Solution for widget:
    Since you can't use a Timeline in a widget blueprint, you can use the delta seconds from the Tick event.
    1. Make a new float variable, let's call it "Value". GET the "Value" float, do 'add', connect it with the "In Delta Time" from Tick event, connect that to a "Clamp(float)" to limit it to 1.
    2. From the Clamp connect to a SET of your "Value" variable. So you see that the tick sets the "Value" variable like a timeline. Just connect the "Set Scalar Parameter Value" like above and you're good to go.
    3. But now we want to play the flipbook animation again, EASY - all you have to do is reset the variable "Value" back to 0.
    For me it was enough to put a delay node for 5 seconds and SET the "value" to 0, so animation resets every 5 seconds. If you want it to reset at a specific event then go ahead.

    • @chris_warstat
      @chris_warstat 7 หลายเดือนก่อน

      Duuuude! THANK YOU! Exactly what I was looking for. :D You just saved my ass, haha. Had the MPC already set up, but didn't think to just plug it directly into the animation phase. Had it multiply the playrate, with bad results...

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

    Super helpful, specifically the breakdown at the end! Thanks!

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

    Amazing. Very nice explanation, you are a good teacher.

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

    Hi Ben. I used a 5x5 flipbook texture so I made sure to divide by 5 (instead of 6, like in your video), but I also found that I had to set my Time to a Period of either 1 or 2. I guess I don't understand the concept of the Period field. I noticed that when Period was disabled, my texture resolution dropped significantly, but at 1 or 2 it's fine. Thanks for your help and you have given so much to the community - Cheers!

    • @Jeff-2112
      @Jeff-2112 ปีที่แล้ว

      I think as long as the product of the Time period and the Frame rate is equal to the number of frames you'll be good. Or at least the product should be evenly divisible by the number of frames. I wish that was covered as I was confused by that as well and the time period needed to be adjusted for my texture, too.

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

      Although it's late :) You can find the time period by dividing the number of segments you have in your texture by the number of frames you want as a result. So in the video we had a texture with 36 segments and wanted to reach a total of 24 fps, then we divided 36/24=1.5 secs. Technically speaking you would need 1.5 seconds to play your 36 segments in 24 frame rate. So you would have to divide 25/(target fps). Hope this helps.

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

    Thank you very much sir! very informative and I love how you always drop optimization tip here and there. I made a material function for reuse purpose based on this, little tweak with parameter so it's editable in material instance!

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

    This is so cool! You are awesome for breaking down the flipbook node and explaining it in detail! Thank you so much!

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

    This is a great series. Learning a lot!

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

    Hey Master your course should be a hit in udemy

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

    Thank you Ben for sharing this.

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

    Your tutorials are awesome! Thank you

  • @betraid
    @betraid 7 หลายเดือนก่อน

    Really cool video, even that i will forget tomorrow how this all math works, but atleast now i know how to make animated effects from texture atlas, TY.

    • @NematekGSD
      @NematekGSD 7 หลายเดือนก่อน

      LOL! Me too!

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

    Thank you for making these tutorials!

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

    Thank you so much for this!!

  • @Omar.bin.khattab
    @Omar.bin.khattab 4 ปีที่แล้ว +1

    Perfect ...... Thanks For Your Time and Effort .. With my Respect

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

    Thanks, this is very useful stuff, and so much fun to play with.

  • @deraltevomwanderndenberge6291
    @deraltevomwanderndenberge6291 4 ปีที่แล้ว +30

    I'm sorry but I just don't get it. What does it mean to multiply time by 24? Or divide it by six? What do you divide? Is it a timespan? The speed of the timeflow? Number of frames? How does the value of the time node go up, and by which increment, how often (per real world second)? Does the node behave differently if I set up a webcam and have my PC watch a cooking pot?
    Edit: After one more day spent in meditation, a quick seance and a small chat with my old friend Stephen Hawking I think maybe I'm starting to make sense out of all this. For anyone else overcomplicating things: I think the time node simply represents real world time in seconds, so after one second it has a value of 1, after one and a half second 1.5, so if it's plugged into the UV coordinates by itself it flips to the next frame every second. By multiplying by 24 we simply make this happen 24 times per second. And for the divide by 6 thing, it simply tells the V coordinate to increase only every sixth time that the U coordinate does.
    By the way, thanks for the tutorials, I really like them, although I sometimes struggle to follow.

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

    Thx Ben! Very useful and very well explained! :-)

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

    Very helpful!!

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

    @Ben Cloward This was all wonderfully explained. I, as an artist was able to grasp most of the things. Only that I would like to ask you Mr. Ben is why the value of 1.5 was used as a time period on Time now and even why set any Period at all ? I am recreating this with a texture with 10x10 grid. Not setting the time to period is working fine.

  • @std_void
    @std_void 9 หลายเดือนก่อน +1

    For those, who can't understand why there is a period of 1.5 in a Time node!
    FPS of the animation is 24, however there are 36 frames in whole anim. 36/24 = 1.5 (TotalFrames / FPS = Period Value).

    • @Mehmet_KISSACIOGLU
      @Mehmet_KISSACIOGLU 9 หลายเดือนก่อน

      you saved my damn day bro... thanks a lot for the explanation...which means if there was 5x5 that would be 25 frames then that number would be 1,04166666

  • @importon
    @importon 3 หลายเดือนก่อน

    This is great! how would one cross fade between the frames if they wanted to use a lower frame-rate so that it's not so "staccato"

  • @ЕгорСтупников-д8н
    @ЕгорСтупников-д8н 3 ปีที่แล้ว +1

    This is just great

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

    hi ben liking your videos they are very clear. but is there anyway you can provide with the explosion image sequence that you used in this video

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

      That's a texture that comes with Unreal. A few years ago, Unity published a block post with links to a list of flipbook textures. You can find it here: unity.com/blog/engine-platform/free-vfx-image-sequences-flipbooks

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

      @@BenCloward thank you so much

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

    So cool. Thanks for sharing

  • @Bubblebunz
    @Bubblebunz 7 หลายเดือนก่อน

    How do you do transparent background sprite setup from a video or gif?

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

    Very cool! Thanks!

  • @reedshingledecker3173
    @reedshingledecker3173 ปีที่แล้ว

    How can you slow back playback speed over life? When I multiply time over the particle life to slow down a looping texture, it stutters pretty bad.

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

    Great tutorial, thank you! Just wondering - is there a way to force a flipbook to start from frame 0 in-game? EG, if the player sets off a trigger, the flipbook starts playing from its first frame.

  • @LANA-xm5fg
    @LANA-xm5fg 25 วันที่ผ่านมา

    How can i make a texture like this one to apply the flipbook animation on it

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

    great great great

  • @buffalosoldier-br1mi
    @buffalosoldier-br1mi 4 หลายเดือนก่อน

    hi ben any way to dont show how to dont get the black background behind , whats the way to fix this

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

    AWESOME!!!!!

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

    My brain just exploded xD

  • @hotsauce7124
    @hotsauce7124 ปีที่แล้ว

    Question: is there a way to link a Control Rig controller to the UV in a flipbook. So if you move a bone translation or rotation the UV will move in a particular direction? And the Control Rig controller can be animated in Sequencer to record the UV animation? Maybe a UV in a texture atlas can be attached to a Control Rig controller as well?

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

    Understood everything except why a time period of 1.5 is used

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

      Any time period can be used, but the product of the time period and the constant must be equal to the number of frames in the sequence. The Frac operation yields (0,0), (1/6, 0), (2/6, 0) and so on.

    • @Jeff-2112
      @Jeff-2112 ปีที่แล้ว

      @@JoneJake But why even bother putting in a time period at all? Why not just leave it unchecked?

  • @curtisnewton895
    @curtisnewton895 ปีที่แล้ว

    what if you have multiple textures ? or an avi file ?

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

    Hey Ben thanks a lot for this video! I want combine this material with particle system .Is there any possible to make it play the flipbook animation just once?

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

    wow, Ithank you, I am new to ue4 and I got to learn a lot like very a lot 🤯😨😭😢😱

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

    Thank you!

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

    Great introduction Ben. Would it be possible to provide a link to the image you're using in this example in the video details? I tried to follow along using an 8x8 sprite sheet and ran into timing issues. For the second part, I had to set the const multiplied by time to 64 in order to get it to play the full sprite sheet.

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

      An 8 by 8 should work fine as long as you set the rows and columns to 8 instead of 4. And yes, you’d need to adjust the time node to cover the full period. If you’re still having issues, take a look at the episode on performance optimization. I give some more details there that might help.

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

      @@BenCloward Oh wow, the performance optimization episode (#7) is next on my list, I'm looking forward to checking it out. Great lesson planning.

    • @Data-Cain
      @Data-Cain 3 ปีที่แล้ว +3

      I started with a 7x7 and wasn't sure what was happening at first. I think you calculate it like so...
      For a 7x7 tileset (49 tiles) that is supposed to play at 24FPS
      Time is: 49 / 24 = 2.041666666666667 seconds required to play all frames (UE will truncate and round up to 2.041667 seconds - important to round up, not just cut the last numbers off as I think that'll drop the last frame).
      Other numbers might appear to play properly, but at some point it'll cut one play through off and start again.

    • @spaghettipunch2681
      @spaghettipunch2681 11 หลายเดือนก่อน +1

      @@Data-Cain Oooh, now i get it! Thank you!

  • @qatusex855
    @qatusex855 ปีที่แล้ว

    Hey, thnx for the tutorial! Is there a way to play the flip book forward and back instead of looping? to make it like a c4d's "ping pong" animation effect

    • @BenCloward
      @BenCloward  ปีที่แล้ว

      This can be done by passing time into the sine node and then adjusting the output range. Sine will ping pong back and forth.

  • @yantingye1677
    @yantingye1677 ปีที่แล้ว

    hi,How do I convert a video into a Flipbook sprite sheet image and import it to UE5

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

      There are lots of way to do that. I would probably open the video using video editing software like Adobe Priemere or Davinci Resolve and then export the video as a list of individual frames. Then I'd use Photoshop to arange them in a grid. If you do a Google search for "convert video to sprite sheet" you should be able to find what you're looking for.

    • @yantingye1677
      @yantingye1677 ปีที่แล้ว

      @@BenCloward thanks a lot

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

    Can't understand why it plays back at 30 frames a second when dragging time directly into animation phase? (at 4:45) Anyone can help? Thanks in advance!

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

      I'm not positive but I believe 30fps is a default for the game engine.

  • @chizknowsdabizyeet7609
    @chizknowsdabizyeet7609 ปีที่แล้ว

    How do you stop it repeating

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

    Thanks

  • @hotsauce7124
    @hotsauce7124 ปีที่แล้ว

    Request: Can you please make a companion video to this one? A video that shows how to swap out the TIME node and put in functionality to manually move the UV across the texture atlas? Possibly move the UV based on an integer value of 0-35?

    • @hotsauce7124
      @hotsauce7124 ปีที่แล้ว

      O' I just figured it out. Remove the Time nodes. Create 2 scalar parameters: one for the "U" and a second for the "V." Plug both into an Append node. Then plug the Append into the "Animation Phase (0-1) (s)" of the Flipbook.

    • @hotsauce7124
      @hotsauce7124 ปีที่แล้ว

      I love your channel. Question: do you have videos pertaining to If Statements? If a variable has a value of 0, move the UV tile to these U and V parameter coordinates. If the variable has a value of 1, move the UV tile to these differnt U and V parameter coordinates?

    • @hotsauce7124
      @hotsauce7124 ปีที่แล้ว

      I figured out what I needed to do. Thank you so much for teaching us how to use materials.

    • @MiaRahui
      @MiaRahui ปีที่แล้ว

      @@hotsauce7124 Hi there do you mind explaining further how you got this to work and how your blueprint looks?

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

    much appreciated

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

    coooooolll

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

    how to make it play it just once ? thanks for channel super informative

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

    Hey Ben! Excellent one, once again! I was wondering, do you have the source for de .tga file you use ?

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

      For the flipbook explosion texture? I don't have that, no. It's one of the textures that ships with Unreal.

  • @redozeed2398
    @redozeed2398 2 ปีที่แล้ว

    Really thanks for the tutorials!! But I just wonder why do you loop the time node between 0 to 1.5s(Is that some arithmetic value about frame rate? Sorry I try my best to understand it but I dont get it T T).

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

      Hi @Redozeed, In the flipbook there are 36 images in order to play that at 24 frames a second would take 1,5 seconds. Hope this clears things up

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

    I've found this very useful, one thing I can't figure out tho is how to play through the flipbook just once.
    Do you think it's possible to do with math inside the material itself?

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

      If you clamp the value you're using to select the flipbook frame (time) to between zero and one, it will play all the frames once and then stop - until you resent the time value back to zero.

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

      @@BenCloward I didn't understand what exactly I need to change?

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

    greetings friend. I need your help ! I can’t make the animation stop. I did everything according to your example, everything works well, but I don’t understand how to make the animation go through one cycle and stop! Could you help me? Thank you!

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

      This can be controlled by the time value that you pass in to the function. Typically, you pass in Time with Frac so that the effect will loop. But if you just want it to play once, you can pass in Time with a Clamp instead so that the value won't go higher than one.

  • @UpsideYonder
    @UpsideYonder ปีที่แล้ว

    How the FRIC! did you forget the FRAC?!?!

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

    I don't know what the problem is, but when I do this and apply the flipbook material to a surface, it displays the entire sprite sheet. For example, a 2x2 sprite sheet is displayed on the wall. Each quadrant is animated, but it's displaying all four quadrants of the 2x2 sprite sheet on the wall, rather than one animated texture. I've been trying to figure out animated flipbook materials for months. This is getting extremely frustrating at this point, honestly.

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

      What do the UV coordinates look like on your wall? Do they go above 1 or below 0?

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

      @@BenCloward I'm really sorry for sounding like an idiot here (I've only learning Unreal Engine/game development for about 6 months total), but I don't even know what that means. I keep hearing about UVs and I see UV settings for static meshes and textures, but I honestly don't even know what UVs are. And I don't know how to check the coordinates of UVs. I guess I should watch some tutorials on UVs and get familiar with them.

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

      @DeadPixel1105 No worries! Here’s a video explaining UV coordinates:
      th-cam.com/video/reAlVCXBtjs/w-d-xo.html

  • @manuelfuertes6295
    @manuelfuertes6295 ปีที่แล้ว

    Why did you use 1.5 time period

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

    how do u make it play once then stop at very last frame

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

      You’ll need to add a saturate to time so that it’s clamped to the zero to one range.

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

      sorry to bother u , i add a saturate after time, the playback just stopped, its not playing anymore, so does it main i have to contorl a scalar param through blueprint?

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

    Can someone recommend a program to create the spritesheet?
    I tried texturepacker but it struggles to create anything that isn't power of 2 (i.e. 5x5,6x6)

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

      Just use photoshop. Get your first frame, goto image > canvas and then hit relative and change the parameters to pixels. Get a calculator and multiply the resolution of the X axis by how many frames you want going horizontally, and then the resolution of the Y axis by how many you want going down. Then put those numbers in the width and length fields. Get the selector tool, hold shift and snap your first frame to the top left of the canvas. Repeat for each frame as they should snap in place pixel perfect. If not try to line them up yourself.

    • @stephenmontague6930
      @stephenmontague6930 2 ปีที่แล้ว

      @@MonsterJuiced use photoshop - at $239.88 / year... or $1,199.40 / 5 years... haven't crossed that bridge yet.

    • @BR1.618
      @BR1.618 7 หลายเดือนก่อน

      @@stephenmontague6930Yoho

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

    What if I use this to anime eyes for example, but, I need 2 or 3 different animation for character's eyes, how can I do that?

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

      You can either use 2 or 3 different textures and swap them in and out or you can put them in different spots in the atlas and skip to them when you want to switch.

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

      @@BenCloward All right, thanks
      But if i need to animated just one specific row?
      Sorry for all the questions, i'm newbie using unreal.

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

    Why does the floor function just generate the diagonal frames? Thank you.

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

      Because at that stage of constructing the material, we're applying the floor to both the U and the V coordinates - so the movement is applied to horizontal and vertical movement equally.

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

      ​@@BenCloward Thank you Ben. I am a beginner of shader learning. I don't fully understand the reason of some operations and choosing those constants. Are some of them just fixed patterns for specific effects by experience and multiple tests?

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

      Which constants are you asking about?

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

      ​@@BenCloward Not in this Episode. For example, in the rain drip one, there are some constant vectors used to scale down the Absolute World Position. For some VerticalNormalWS operations and math operations, they are not straightforward to me because I don't know why we use this way and how we know these operation can work. That's why I thought those might be some fixed patterns or some industry experience that I didn't have.

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

      @@haozhao1493 Those are for making the effect the right size. They're scale multipliers. No, there's no industry standard. They're just values I used because I thought they looked right after testing them. If you want to make the effect bigger or smaller, you can change them to whatever you want.

  • @madcatdev
    @madcatdev 3 หลายเดือนก่อน

    How to only play the sheet once ?

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

      Just clamp the input frame value so it doesn't go higher than the max. Looping uses the Frac node to make it wrap around to the beginning frame again at the end, but if you use clamp instead, it will play once and stop.

  • @boot-strapper
    @boot-strapper 2 ปีที่แล้ว

    how in gods name to people find this easier than just coding it???

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

      That's a good question. I'm glad you brought it up. Coding it is easier for sure if you know how to code and enjoy it. But there are some advantages to node-based interfaces. For those that don't know code, all of the available operations are listed in the interface so they can select them from the menu rather than needing to have all of the commands and functions memorized. Using a visual interface removes the need to concentrate on code syntax - so you don't have to worry about remembering to add a semicolon at the end of the line, for example. I've found that it's easier for me to be creative in a node-based interface because my mind can stay on the artistic side rather than being on the analytical side.

  • @spookyanimator4695
    @spookyanimator4695 ปีที่แล้ว

    Thank you!