[NEEDS INFO] How to add fog in Xonotic map - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3) +--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4) +--- Thread: [NEEDS INFO] How to add fog in Xonotic map (/showthread.php?tid=8456) |
How to add fog in Xonotic map - bitflow - 11-03-2020 Hello, how to place fog in a map? I can't find func_fog or fog texture. RE: How to add fog in Xonotic map - Kotangens - 11-03-2020 You will need to hover over worldspawn and press "N" for the menu ONLY WORLDSPAWN, NO OTHER RE: How to add fog in Xonotic map - bitflow - 11-03-2020 (11-03-2020, 02:27 PM)Kotangens Wrote: You will need to hover over worldspawn and press "N" for the menu Uhhh..it was so easy..thank you!! EDIT: Since my fog brush was covering all the entities I had to apply a shader also, otherwise I was getting this error: Code: no entities in open -- no filling This is my fog shader script: Code: textures/fogs/fog and this is my key in the worldspawn brush: fog 0.2 0.1 0.1 0.1 0.9 RE: How to add fog in Xonotic map - _para - 11-06-2020 Do fog-brushes actually work? My last information is that xon doesn't support them. Only the global shadow. RE: How to add fog in Xonotic map - Julius - 11-07-2020 The only fog supported by DarkPlaces engine is global fog. It means that it does not support anything related to brush/shader fog. Global fog is set in Worldspawn entity or in mapname.mapinfo file: fog <density> <red> <green> <blue> [<alpha> <mindist> <maxdist> <top> <fade-height>] density - how much fog to add per distance, this is virtual value. 1 means very strong fog. red - red component of fog color green - green component of fog color blue - blue component of fog color alpha - fog effect opacity (default is 1) mindist - distance to start applying fog at maxdist - maximal distance apply fog at top - origin of height plane at worldspace (game units) height - fog height fade in game units |