Open Arrokoth7323 opened 3 months ago
Have you tried turning "Orthographic as UI" off in Heuristics, that mostly fixes the issue in Star Wars Battlefront 04 but I still get an issue where some of the transparent stuff is rendered on top of the RTX stuff sometimes.
Have you tried turning "Orthographic as UI" off in Heuristics, that mostly fixes the issue in Star Wars Battlefront 04 but I still get an issue where some of the transparent stuff is rendered on top of the RTX stuff sometimes.
Doing so will make the skybox take over the screen
@Arrokoth7323 Are you using automatic skybox detection? If so, turn it off and manually mark the skybox textures
If you're not using it, also try turning it on
@Arrokoth7323 Are you using automatic skybox detection? If so, turn it off and manually mark the skybox textures
If you're not using it, also try turning it on
@Arrokoth7323 have you had a chance to try this suggestion yet?
@Arrokoth7323 Are you using automatic skybox detection? If so, turn it off and manually mark the skybox textures If you're not using it, also try turning it on
@Arrokoth7323 have you had a chance to try this suggestion yet?
So the issue is that when "Orthographic is UI" (I think that is the name, but I don't quite remember as it was a while ago when I worked this out) is turned on then all textures that have something going on in the alpha channel are treated as UI and are visible through walls. If that is turned off, Automatic Sky detection doesn't work so has to be turned off.
This resolves the issue
@Arrokoth7323 Are you using automatic skybox detection? If so, turn it off and manually mark the skybox textures If you're not using it, also try turning it on
@Arrokoth7323 have you had a chance to try this suggestion yet?
So the issue is that when "Orthographic is UI" (I think that is the name, but I don't quite remember as it was a while ago when I worked this out) is turned on then all textures that have something going on in the alpha channel are treated as UI and are visible through walls. If that is turned off, Automatic Sky detection doesn't work so has to be turned off.
This resolves the issue
As much as I would like to state this is an accurate workaround. It is not. Before the 0.5.0 update we were able to properly hide any sky like object, aka objects I suppose the game thought light shouldn't cast onto. This could be windows, the skybox, or holographs from the command posts.
After 0.5.0 all of the above mentioned items would no longer be hidden through geometry when using Sky auto-detect. In order to properly hide them so they are not present on screen at all times use settings:
rtx.orthographicIsUI = False rtx.skyAutoDetect = 0
Before 0.5.0 we used:
rtx.orthographicIsUI = True rtx.skyAutoDetect = 2
The difference now between pre-0.5.0 and after 0.5.0 with these new settings enabled is that...
RTX.conf: rtx.conf.txt
I suppose what I am getting at with this post, is if you could explain what changes were made to sky auto-detect if any since 0.50+?
REMIX-3371 for tracking
From what I understood, the "Sky Auto-Detect" is used here purely to hide game's transparent objects? If so, then I don't quite know if it actually would work -- because the primary use of "Sky Auto-Detect" is to automatically mark D3D9 draw calls as sky, mostly on Valve's Source-like 3D skyboxes. To mark a sky, texture tags can be used; and to hide these transparent objects... hopefully also texture tags, assuming that the transparent draw calls have textures.
(To clarify, 'sky' -- is a distant geometry that is rendered into a cubemap, so when a traced ray misses a scene geometry, it would get a color from that cubemap.)
explain what changes
Optionally store more information about potential sky draw calls to reproject 3D sky geometry to main camera space (look Sky Tuning -> Advanced -> Reproject Sky to Main Camera
which is disabled by default), so it can be ray traced. For that, some parts of sky auto-detection was moved between CPU threads, but orthographicIsUI
check was preserved relative to sky auto-detection logic 🤔
Describe the bug Star Wars Battlefront 2 (2005) (Steam), Sky Tuning's Sky Auto Detect not taking effect. When enabling Sky Auto-Detect to hide transparent objects in the distance between other geometry, said transparent objects as of Remix 0.5.0 no longer remain hidden. Hence always visible.
GPU used RTX 3090 using driver 552.12.
Attach files! d3d9.log NvRemixBridge.log BattlefrontII_d3d9.log rtx.conf
To Reproduce Steps to reproduce the behavior:
Expected behavior
Screenshots
![RayTracing Enabled - Sky Auto Detect Off](https://github.com/NVIDIAGameWorks/rtx-remix/assets/168481954/b8461912-72a7-463e-a817-10273d857159)