NVIDIAGameWorks / NVIDIAGameWorks/rtx-remix

Broken polygon edges in Mafia (and some other games)

Open
#507 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug jira runtime
Dominant language
No language data
Stars
1.7k
Forks
99
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

Any polygon edges are too visible, if you make the material reflective, the reflection will be broken, literally looking like a cracked mirror

https://youtu.be/gVKiZLoEiMo
at the beginning of the video you can see this effect on Tommy's clothes, now it is impossible to fix it, later it is visible on cars

How do you reproduce the bug?

just start the game, launch description and any logs here

What is the expected behavior?

in the video above I turn on the Enhanced Meshes, and the reflections on the chrome car become the way they should be

so, I found a way to temporarily fix this problem, maybe it will help in fixing the bug, but it is not suitable for a mesh with skeletal animation, because it has an unstable hash, and this method requires a lot of time for each mesh

https://youtu.be/yBHT6dKVowI

  • capture scene
  • open scene in toolkit
  • check hash of desired mesh
    (The usd importer in Blender is broken, it spoils the UV map)
  • open .usd mesh in USD Composer
  • export to fbx
  • open fbx in Blender
  • reapply texture to mesh, if this is not done there will be strange problems with import to remix
  • export fbx
  • ingest to remix project, replace mesh
  • restore scale

as you can see I didn't do anything to the model, I just put it through blender without changes, and it was fixed
by the way, I saw the same problem in other games, for example Fallout NewVegas (there is a message on discord about this, maybe that will help too

Version

remix-0.5.0+9ea66073 (this bug was on all versions of the remix)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the reproduction video and the logs linked from issue #446, then compare the affected meshes in Mafia and Fallout New Vegas with the Blender-based workaround described here. Done means polygon edges and reflective surfaces render without the cracked-mirror artifact, including on affected animated meshes.

Written by the indexing model from the issue text.

Assessment

Tech stack
blender
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.