rtx-remix icon indicating copy to clipboard operation
rtx-remix copied to clipboard

[Runtime Bug]: Transformer RR weapon flickering in RTCW. Update: linked to legacyMaterial settings

Open whisperglen opened this issue 11 months ago • 2 comments

Describe the bug

Running RTCW DX9 conversion, and using Transformer, flickers appear on the weapon when moving, it seems in low light conditions (speculation). We have a Fallback distant light in the yard, no flickers appear there. But as soon as I enter the tower, or I move in front of the windows, weapon flickers. Also moving under some sphere lights in a hallway causes small flickers on the machinegun eyesight.

How do you reproduce the bug?

  1. Copy Return to Castle Wolfenstein(2001)'s 'Main' folder to a new location.
  2. Download Game DX9 binary from github https://github.com/whisperglen/RTCW-SP/actions/runs/13695698346 and unzip alongside game files (Main)
  3. Get dxvk release from actions. I used dxvk-remix/actions/runs/13692493494
  4. Need a bridge-remix that that integrates new RemixAPI headers (see rtx-remix/issues/736). I have my own build attached bridge-remix.zip
  5. Create bridge.conf with exposeRemixApi = True ^^4 and 5 are needed for sphere lights to work, you can skip if too much trouble, but you won't see the flickers in the hallway mentioned above, and the game is very dark.
  6. Add rtx.conf attached (please rename from .log, .conf files were not allowed) rtx.conf.log
  7. Start the game, toggle console ~ and type "\spdevmap escape2"
  8. Type in the console "\give all", select submachinegun and clear the big room ahead and to the right.
  9. Sun is shining through the windows, turn your back to the windows and move around in the sunlight.
  10. Go ahead through the hallway in your front and slight right, you should observe flicker on eyesight

What is the expected behavior?

No flickers on the weapon

Transformer: Image CNN: Image

Video on Discord https://discord.com/channels/1028444667789967381/1229858482530943037/1347663442940657787

Version

dxvk-remix/actions/runs/13692493494

Logs

No response

Crash dumps

No response

Media

No response

whisperglen avatar Mar 07 '25 22:03 whisperglen

I recreated the rtx configuration and noticed no more flickering, so I started porting the old settings, hoping to narrow it down:

rtx.legacyMaterial.metallicConstant = 0.78 rtx.legacyMaterial.roughnessConstant = 1

These 2 cause the flickering, raising them both above 0.8-0.9 or there about, starts the shimmer. When weapon is fired, that spawns a DX9 Light, which also causes shimmering on the wooden floor when entering the level.

Now I don't know how to handle this, if you guys tell me this is normal, we can close the issue, but if there's some buggy behavior somewhere, I am available for more tests.

whisperglen avatar Mar 13 '25 12:03 whisperglen

Thanks for reaching out! We've filed REMIX-4003 for internal investigation.

NV-LL avatar Mar 13 '25 20:03 NV-LL