There is a node in the material blueprint called depthfade, put that in the opacity pin and set the fade distance to whatever you like the result to avoid the sharp edge you see at the end of the video
@CodeLikeMe2 жыл бұрын
thank you for letting me know. I will try that
@Yokitolakaka2 жыл бұрын
@@CodeLikeMe No worries, a good starting value is from 50 to 75, but you can play with it to get your desired look.
@carlossuarez92722 жыл бұрын
That suggestion work perfectly fine. Thanks for the useful tip and CodeLikeMe for a wonder Tutorial.
@maiskorrel2 жыл бұрын
Thanks!
@peryschlachter2 жыл бұрын
Yeah, thanks to both of you my island is now a mystical one !
@JambelBandel Жыл бұрын
For me, this method ended up with something more similar to clouds instead of mist or fog, so in order to fix that I used a divider (0/50) just before the emissive color output, that made the smoke a bit more soft and with an overwall better result.
@CodeLikeMe Жыл бұрын
nice!
@patrickking8355 Жыл бұрын
0.2 in depthfade work form me to make the mist(adjust the height of the msit for more realism
@markhamilton2885 Жыл бұрын
Awesome thanks for taking the time to share this - fixed my mist and let's me adjust the density perfectly :)
@kudjo24 Жыл бұрын
First tutorial where everything is logical, slowly shown, and not annoying. Great work, you should pin that depthfade node comment just in case as that exactly fixed your problem in my node setup for this. Thanks!
@tara.rankoth Жыл бұрын
My time is saved, Thilina. I'm grateful.
@CodeLikeMe Жыл бұрын
:D
@CycleverseGames2 жыл бұрын
That is very cool. This would make a good effect for a spell or smoke bomb where you need it very localized. I could see adding an exposed variable that thickens the fog. As the player moves closer or farther from a world location the fog density changes.
@kudjo24 Жыл бұрын
Thanks!
@CodeLikeMe Жыл бұрын
You are welcome
@chickishot81722 жыл бұрын
Thank you for this tutorial!
@CodeLikeMe2 жыл бұрын
You are so welcome!
@3dstuff6772 жыл бұрын
This is Perfect !! Thanks Bro
@CodeLikeMe2 жыл бұрын
Thank you!
@neatpolygons85009 ай бұрын
You're really good, thank you
@CodeLikeMe9 ай бұрын
welcome
@semirukiya53088 ай бұрын
It generates a lot of particles. And with translucency overlapping so much, it's a rather demading fog, right? Cheers!
@chid44382 жыл бұрын
you are so genius
@CodeLikeMe2 жыл бұрын
😊
@eitanozeri66477 ай бұрын
How can i make the mist move with the player?
@CodeLikeMe7 ай бұрын
you can update the mist emitter location with player's location. For this to work, make sure the particles are emitted in world space. I covered this in my rain tutorial, But I don't remember if I did the same for this too.
@niklastsalkos Жыл бұрын
Anyone know how to make the mist move in a certain axis only? ie it simulates flying in the clouds, but the clouds making the illusion that the player is flying?
@zebaxtianvr2 жыл бұрын
Thank you so much
@patrickking8355 Жыл бұрын
Thanks for help me!
@glitchman9579 Жыл бұрын
Thanks so much for sharing that! but it causes a lot of light complexity and severe performance loss and I guess there's no way optimizing that without quality loss
@Foudyl Жыл бұрын
i push the loopd duration 1000,spawn rate 200, lifetime min and max 20, uniform sprite size to 4000 and max 5000, and on the detail size the scale at 20, 20, with z : 0.001 very nice global fog translucid for valley , mountain etc... thks for the tuto 🙂
@CodeLikeMe Жыл бұрын
Welcome! share a screenshot if possible. Would love to see in a real environment
@LeandroOliveira3D2 жыл бұрын
Hi. Is it possible to make lights interact with that particles?
@CodeLikeMe2 жыл бұрын
Can you elaborate?
@Nanu_art10 ай бұрын
Video was great sir thank you so much Can we change its visibility...if yes please tell me sir
@CodeLikeMe10 ай бұрын
do you mean opacity? or completely disable it?
@Nanu_art10 ай бұрын
@@CodeLikeMe opacity of mist...some visibility of mist should lower
@Nanu_art10 ай бұрын
How to do that sir?
@PabloYaos Жыл бұрын
Hey, anyone else having a problem with the smoke particles moving around when you rotate or move the camera ? I can't seem to find how to fix this.
@CodeLikeMe Жыл бұрын
do you mean like particle is attached to camera?
@MaxwellPublishing Жыл бұрын
Why can't I see the mist in my map? I made it 1:1 as you did, but when I plop it in the map, it's as if nothing was added.
@CodeLikeMe Жыл бұрын
are you in low scalability settings?
@SurferXGhost12932 жыл бұрын
Does it work for Movie Render Queue?
@acsomiT Жыл бұрын
Thank you! One question. In the material and Niagara window the Smoke looks white but in the Editor it looks black. Any idea why?
@CodeLikeMe Жыл бұрын
Lighting conditions in the level?
@acsomiT Жыл бұрын
@@CodeLikeMe Ok, I figured out. I have the sun at 100000 lux and the emissive power of the fog material its to week for this high value and its resulting in rendering black. I added a Parameter and a Multiply node to conect it to the Emmisive Color node chain and cranked up the value. Now the fog its white! 💪
@oskaroskar9589 Жыл бұрын
whats the point of connecting 0 to the add and then to the lerp instead of connecting it directly? and what does the -0.5 connected to the add gives us? I greet, Oscar.
@CodeLikeMe Жыл бұрын
can you mark the timestamp you are referring to?
@oskaroskar9589 Жыл бұрын
5:41@@CodeLikeMe
@ChuckPalomo Жыл бұрын
Is there a way to still use translucent without the flickering bug? Additive uses colour as opacity.
@elliein3d9 ай бұрын
Hi, did you ever discover a solution to this?
@PhatNguyen-cu2bx2 жыл бұрын
Uhm. Code, You have a one page or group in patreon or facebook. beacause I still don't quite understand how to fix the rope swing and zipline.
@CodeLikeMe2 жыл бұрын
there is a dedicated discord group for patrons to discuss issues
@PhatNguyen-cu2bx2 жыл бұрын
@@CodeLikeMe OK.WHAT LINK?
@CodeLikeMe2 жыл бұрын
@@PhatNguyen-cu2bx when you join the patreon club, you automatically receive the invitation. www.patreon.com/codelikeme
@salvatorecs2 Жыл бұрын
Nice
@CodeLikeMe Жыл бұрын
thanks
@journeysthroughtime16322 жыл бұрын
Amazing. :)
@hotbergina11 ай бұрын
can you help me i have squares, like the fog is delimited....
@CodeLikeMe11 ай бұрын
perhaps you missed the subuv settings
@hotbergina11 ай бұрын
@@CodeLikeMe hey, i learnt that i have to set the number of tiles od the image the same number the image has arrays...thing like that. sO i put 8 x 8 and its good
@da_visual Жыл бұрын
Why I cannot see the smoke on my side? Is it because I don't have RTX?
@CodeLikeMe Жыл бұрын
RTX doesn't matter here
@KavUE222 жыл бұрын
Is it possible to change the color of the mist? Making it green or red? Also, thank you very much for this tutorial :)
@CodeLikeMe2 жыл бұрын
of course, you can change it in colors settings of niagara emitter
@KavUE222 жыл бұрын
@@CodeLikeMe Thank you, much appreciated :)
@AndikaPratamaW Жыл бұрын
Hi, is this support on mobile? does this can be optimize? Anyway thanks for the video!
@CodeLikeMe Жыл бұрын
Always there is room for optimization. And niagara does support mobile devices. But personally i don't have much experience on that regard
@PhatNguyen-cu2bx2 жыл бұрын
YOUR TPS AND ALS SHOTTER CAN COMBINE THIS. :?
@CodeLikeMe2 жыл бұрын
sure
@carlossuarez92722 жыл бұрын
As a Request: Please try to make Different Magic Particle Hit Effect using NS. I really appreciate that.
@CodeLikeMe2 жыл бұрын
will try
@kanao7030 Жыл бұрын
Am i the only one who had "grid patterns" on the fog...?
@CodeLikeMe Жыл бұрын
You've forgotten to set subuv size
@kanao7030 Жыл бұрын
@@CodeLikeMe It worked :D thanks!
@screenapple16602 жыл бұрын
This is only good for scary horror games. RPG forrest int he dark. Jason game.