|
|
SGT_FW
by Aku_Aku. 11/30/26 08:19
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Realistic fog in LiteC - Any sugestions?
[Re: 3run]
#311710
02/21/10 12:54
02/21/10 12:54
|
Joined: Jan 2004
Posts: 3,023 The Netherlands
Helghast
Expert
|
Expert
Joined: Jan 2004
Posts: 3,023
The Netherlands
|
How to incrise number of sprites? And how make them appear right infront of the player? So it will looks, like player is walking in fog there is a define that says: change the 250 to be more sprites if needed... but, as I said, it will decrease the FPS i'm affraid. (you can also try scaling the sprites up instead, and set the var cam_fog to be higher). If you want the effect around your player instead, you'll have to find the function autofog. And in that, change all the camera to player commands. hope that helps you. regards,
|
|
|
Re: Realistic fog in LiteC - Any sugestions?
[Re: mikaldinho]
#311715
02/21/10 13:00
02/21/10 13:00
|
Joined: Jan 2004
Posts: 3,023 The Netherlands
Helghast
Expert
|
Expert
Joined: Jan 2004
Posts: 3,023
The Netherlands
|
could it look messy if the number of was about 970? Depends totally on the size of your level, and the scale of the sprite... Often it will look better when you make the sprite a bit bigger, and use less entity's (also saves FPS). in the autofog function, there's a line that writes:
vec_scale(my.scale_x, 0.8);
this changes the scale of the sprite. it's now being downscaled to 80% it's size, but you can fill in any number you want there. try playing with those settings  regards,
|
|
|
|