Texture Mip Bias in texture streaming in UE5

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
foreign this episode I'm going to be talking about me bias in audio engine 5. um when you're working on mobile devices mobile projects um this is pretty useful when you're dealing with um texture streaming issues some big textures that you have to let them stay in your game when you are in those kind of situations you will find yourself trying to find other Solutions like me bias which is exactly what you see here so when you are too far away from a texture it's just super super blurry the quality is like really really low but what when you get close to it just gets visible I mean not visible the quality gets much much higher so this is exactly the same texture but the texture here as you can see is a little bit more high quality um I'll fix the issue right now if this is just to present uh how the effect looks to you so let's get started so first of all you need to find your um first of all you know what first of all this is a game that I've published in um Google Play Store you can just go ahead and download it if you want to buy the game just go ahead and buy it in the plus place so that would be a huge support but if you want to just try the game for free just uh email your comment your email in the comment section under this video and I'll send you the link for the APK um okay so first of all you have to find a mesh that you want to do this to the textures I find I found it and I bashed all the uh meshes all together so I have to find it like this uh then go to the material all the way through the material itself in the texture sample though there's a option um called me value mode so this is by default this is set to none go ahead and change it to me bias and Samplers sampler Source must be from texture uh from texturality and heat up line is safe um then let's go ahead into the texture make sure the median settings is set to from texture group this is very important if it's set to something else this won't work then you can just go ahead and hold s um call it meep bias probably and set and connect it to the bias I don't want to do that because I'm not uh you know what actually maybe that's a better idea yeah me bias uh set the default value to one and hit apply and then when you come here we have the material instance here you can in real time you can change it so if I set it to three oh it will be too harsh but two might be a good idea to have because everything that's closer to the camera is streaming full quality and everything that's like not as close to the camera or uh it's streaming with a little bit lower quality so two to me seems like a good deal and make sure when you're doing this you connect this thing into all of your Textures in the material so make sure that you go into all your textures and set the meat value mode to make bias and sampler source to from texture assets um and that's pretty pretty much it when you're working on mobile projects this is really helpful this will help the performance sometimes up to this it will make the performance better like twice sometimes so it's it's really really useful I'd recommend you using it when you're working on mobile and if you're working on PC maybe you could go ahead and set this to free no one would notice no not three I'm sorry it's two one no one would notice what you did but what you did is eventually say saving the texture streaming um boycats cost so it will just reduce the amount of load that the texture is streaming is tolerating at the moment so if you just look at the textures right here they're not even streamed into the memory so let's say the texture here is two by two and the texture here is 2K uh but if you were going to stream all of them at 2K that would be like one two three three matches streaming three 2K textures into the um texture streaming into the memory so instead of that instead of just probably streaming probably 15 megabytes to the memory you can easily go ahead and doing probably seven megabytes to the memory so that's a pretty good optimization to me um if you don't want to do it manually then there's a command console for it if you come here and type in r dot Max uh and it's thought any sort of here I always pronounce it wrong I'm sorry uh Max anisotropy and probably hit zero to 4 8 or 16. everything should be a power of two uh the higher the better but you won't have the option to do this so all the textures should be okay um the textures should be the main value mode should be none so it will just use computed meet level and you won't have this node called bias here but you can't optimize the game really really heavily with this uh r.max and this repeat thing and that's it if you found this video helpful please hit that like button uh if you want to play the game on your phone but you don't want to pay for it or support it just let me know in the comment sections and I will send you the APK it is only for Android at the moment I don't know if I'm going to publish it for iOS though maybe in the future I don't know but that's it have a great day bye
Info
Channel: Surin
Views: 1,907
Rating: undefined out of 5
Keywords: Unreal engine, UE4, UE5, Unreal engine 4, Unreal engine 5, Game development, Game, PC games, Game trailers
Id: bc5FWL1QZds
Channel Id: undefined
Length: 7min 13sec (433 seconds)
Published: Fri Aug 11 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.