View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004684||The Dark Mod||Graphics||public||25.11.2017 15:08||30.12.2018 11:37|
|Target Version||TDM 2.07||Fixed in Version||TDM 2.07|
|Summary||0004684: Graphical Artifacts in Warp Materials|
|Description||Transparent, warp materials (e.g. water, glass) exhibit graphical artifacts in 2.06. This only occurs when r_useFBO is set to 1 and even occurs when r_fboSharedDepth is set to 0.|
|Additional Information||http://forums.thedarkmod.com/topic/19162-beta-testing-206/page-7 (starting at post 153) contains discussion and screenshots of the artifacts.|
To quote nbohr1more:
"This is an artifact from the use of FBO with "Shared Depth".
I'll have to play with cvars tonight to give a clear answer. Earlier in development you could cure this via r_fboSharedDepth 0
but it seems that Soft Shadows always causes this regardless of that setting in the latest builds."
|Tags||No tags attached.|
|related to||0003879||resolved||SteveL||Warping post processes (water and glass) distort foreground objects|
|related to||0004425||resolved||duzenko||Framebuffer objects for color, depth, stencil|
|related to||0004781||resolved||nbohr1more||Weird shimmering effect on seawater textures -|
|related to||0004714||resolved||duzenko||Water surfaces broken in Volta2|
I think that particular problem was fixed already.
(the test map with the fountain)
That bug was described differently, assuming that the "15088 - water blur shader fixed (duzenko)" patch note in the latest beta package was it (0004671) being fixed, then no, this is a different issue.
I just started up TDM with said latest beta package and I can see the artifacting still occurring.
|I would request a test map for this|
warp.map (5,598 bytes)
|A test map has been added. There is a brush with a warp material in the map. As I said, toggling r_useFBO makes it easier to spot the difference in how that material renders.|
Thanks. It appears the fix for "foreground objects distortion" is not compatible with the new FBO depth texture.
When I change the shader program for clear_warp from heathazewithdepth to heathaze it seems to fix it. Please confirm if that works for you.
|Yes, that makes the issue go away.|
|Other materials should be fixed in the same manner if needed|
|Has the fix been tested to see if it reintroduces the foreground distortion that heathazewithdepth was introduced to solve?|
|It does not distort to me on the attached map but Spooks said it distorts for him.|
|Please attach a test map if distortion still occurs for you|
|Should the player weapon model be rendered _after_ models like clear_warp?|
The problem affects more than the weapon and would produce erroneous effects
if (for example) you held a weapon behind glass or water that was closer to your eyes.
Anything in front of a warp\haze material is included in the effect.
SteveL's solution was to make the haze shader "depth aware" and stop it at discontinuity boundaries of foreground objects.
|Still present in 2.07 beta. In-game AA alleviates the issue.|
Trunk rev 7868
|25.11.2017 15:08||Spooks||New Issue|
|25.11.2017 15:10||duzenko||Note Added: 0009701|
|29.11.2017 09:05||duzenko||Assigned To||=> duzenko|
|29.11.2017 09:05||duzenko||Status||new => assigned|
|29.11.2017 22:18||Spooks||Note Added: 0009715|
|01.12.2017 20:39||duzenko||Note Added: 0009720|
|02.12.2017 23:43||Spooks||File Added: warp.map|
|02.12.2017 23:43||Spooks||Note Added: 0009729|
|03.12.2017 09:32||duzenko||Note Added: 0009730|
|03.12.2017 11:44||Spooks||Note Added: 0009731|
|03.12.2017 16:11||duzenko||Note Added: 0009734|
|03.12.2017 16:11||duzenko||Status||assigned => resolved|
|03.12.2017 16:11||duzenko||Fixed in Version||=> TDM 2.06|
|03.12.2017 16:11||duzenko||Resolution||open => fixed|
|03.12.2017 17:35||Springheel||Note Added: 0009735|
|06.12.2017 20:45||duzenko||Note Added: 0009741|
|08.12.2017 22:41||duzenko||Note Added: 0009748|
|21.12.2017 10:46||duzenko||Note Added: 0009863|
|21.12.2017 17:21||nbohr1more||Note Added: 0009864|
|21.12.2017 17:21||nbohr1more||Relationship added||related to 0003879|
|26.12.2017 19:09||nbohr1more||Relationship added||related to 0004425|
|30.12.2017 19:35||grayman||Target Version||=> TDM 2.06|
|29.04.2018 21:09||nbohr1more||Relationship added||related to 0004781|
|29.04.2018 21:10||nbohr1more||Relationship added||related to 0004714|
|22.12.2018 08:52||Spooks||Note Added: 0011013|
|22.12.2018 08:52||Spooks||Status||resolved => feedback|
|22.12.2018 08:52||Spooks||Resolution||fixed => reopened|
|28.12.2018 14:07||nbohr1more||Note Added: 0011158|
|28.12.2018 14:08||nbohr1more||Assigned To||duzenko => stgatilov|
|28.12.2018 14:08||nbohr1more||Fixed in Version||TDM 2.06 => TDM 2.07|
|28.12.2018 14:08||nbohr1more||Target Version||TDM 2.06 => TDM 2.07|
|30.12.2018 11:37||STiFU||Status||feedback => resolved|
|30.12.2018 11:37||STiFU||Resolution||reopened => fixed|