cassius Posted February 10, 2018 Posted February 10, 2018 Hi! Is there a way of fixing fog so that main character can walk out of fog into a clear sunny patch. 1 Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++
macklebee Posted February 11, 2018 Posted February 11, 2018 Sure, make the fog out of particles with maybe a combination of adjusting the start of the fog range with SetFogRange(). Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel
cassius Posted February 11, 2018 Author Posted February 11, 2018 thanks. I will give it a try. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++
Robbo Posted November 28, 2022 Posted November 28, 2022 I notice if you change the start fog range will achieve the same thing to make a area around the player not affected by fog Quote
havenphillip Posted November 28, 2022 Posted November 28, 2022 This is an interesting idea. I'm thinking maybe somehow use a PostEffect fog then thin it out or thicken it based on the distance of the cameraposition to the "center" of it. I'm going to try this. Something like: output = mix(regular screen, foggy screen, distance(cameraposition , self.entity:GetPosition()))) Quote
havenphillip Posted November 28, 2022 Posted November 28, 2022 Yeah this works. With this all you need to do is make a pivot, attach the script, and drag the player/camera into the script slot. The closer you get to the pivot the thicker the fog gets. fog zone.zip Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.