You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TressFX currently uses D3D11_COMPARISON_LESS_EQUAL for z-order comparison. [Reference]
The z-ordering should be optionally D3D11_COMPARISON_GREATER_EQUAL; either via preprocessor definition or TressFX_Desc option. This also requires changes to make sure the ordering of transparent hair strands works correctly.
rationale:
Many engines used in popular games (including GTA V, Witcher 3, Just Cause 2) use inverted (and sometimes logarithmic) depth buffers to increase depth precision.
See
Since I haven't heard back from you but need this feature for my next project, I started implementing it here: mrgreywater@116150b (F5 to toggle inverse depth)
Inverse depth is working for the default configuration, but it doesn't yet support ShortCut or inverting the shadow maps.
TressFX currently uses D3D11_COMPARISON_LESS_EQUAL for z-order comparison. [Reference]
The z-ordering should be optionally D3D11_COMPARISON_GREATER_EQUAL; either via preprocessor definition or TressFX_Desc option. This also requires changes to make sure the ordering of transparent hair strands works correctly.
rationale:
Many engines used in popular games (including GTA V, Witcher 3, Just Cause 2) use inverted (and sometimes logarithmic) depth buffers to increase depth precision.
See
The text was updated successfully, but these errors were encountered: