View Issue Details

IDProjectCategoryView StatusLast Update
0005889The Dark ModGraphicspublic30.12.2023 20:16
Reporterstgatilov Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status newResolutionopen 
Product VersionTDM 2.10 
Target VersionTDM 2.13 
Summary0005889: Finalize volumetric fog lights
DescriptionVolumetric fog light is a new feature added at the end of 2.10 beta and blocked due to some unsolved problems.
It would be great to fix the issues and finalize the feature.

The only problem that I know of is that fog boundary plane is clearly visible when walk through it (just look parallel to the plane).
Unfortunately, that's not the issue of implementation, this effect must happen when constant fog density switches to zero fog density across a plane.
Steps To ReproduceYou can use test map on assets SVN:
  map test/volumetric_fog_light.map
Additional InformationSee internal discussion here:
  https://forums.thedarkmod.com/index.php?/topic/21155-volumetric-light-discussion/&do=findComment&comment=468911
Tagsfog, lighting

Relationships

related to 0005816 resolvedduzenko Volumetric lights (aka "god rays") 
related to 0006393 closedstgatilov Heat haze ignores volumetric light 

Activities

stgatilov

stgatilov

24.01.2022 12:58

administrator   ~0014688

I added a warning in svn rev 9813 saying that volumetric fog light should not be used.
That's needed so that mappers don't start relying on something unfinished on 2.10.

Don't forget to revert this commit when this issue is done.
stgatilov

stgatilov

31.10.2022 06:39

administrator   ~0015382

Perhaps I can implement linear falloff on a segment of specified length.
I.e. density is piecewise-linear with three spans by every direction.
The 1D sides and 0D corners would be a mess though.

The problem is that I see many problems now:
1) The problem of sharp falloff initially described by this issue.
2) If there are two fog zones, then it is crucial to render them in back-to-front order. Any kind of misordering will cause terrible toggling artefact.
3) Fog zone is rarely a box, I'm afraid. Imagine that author has a mansion and wants to put fog outside... how will he achieve that with box fog zones?

I have a feeling that box zones is a wrong way of doing local fog.

Issue History

Date Modified Username Field Change
24.01.2022 12:51 stgatilov New Issue
24.01.2022 12:51 stgatilov Relationship added related to 0005816
24.01.2022 12:58 stgatilov Note Added: 0014688
31.10.2022 06:39 stgatilov Note Added: 0015382
04.12.2022 03:05 nbohr1more Target Version TDM 2.11 => TDM 2.12
05.12.2023 01:24 nbohr1more Relationship added parent of 0006228
05.12.2023 02:07 nbohr1more Relationship deleted parent of 0006228
05.12.2023 02:07 nbohr1more Target Version TDM 2.12 => TDM 2.13
30.12.2023 20:16 Fiver Tag Attached: fog
30.12.2023 20:16 Fiver Tag Attached: lighting
30.12.2023 20:16 Fiver Relationship added related to 0006393