NVIDIAGameWorks / NVIDIAGameWorks/rtx-remix

Marking a mesh replacement as sky makes the mesh disappear

Open
#281 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
Marking a mesh replacement as sky with bool remix_category:sky = 1 doesn't do anything. I posted my process on discord and Mark Henderson suggested I should add this as a bug
image
happens on every build since the option to independently force a replacement mesh into a different draw call category became possible around the 9th of October

Attach files!
nothing to attach

To Reproduce
add mesh replacement to a stable hash
add the line bool remix_category:sky = 1
example

        over "mesh_F888325E8628AFD1"
        {
            custom int preserveOriginalDrawCall = 1

            def Xform "Xform_mesh_0" (
                prepend references = @./Meshes/SkyDome/SkyDome.usda@
            )
            {
                double3 xformOp:rotateXYZ = (0, 0, 0)
                double3 xformOp:scale = (0.1, 0.1, 0.1)
                double3 xformOp:translate = (0, 0, 0)
                uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
                bool remix_category:sky = 1
            }
        }

test in game

Expected behaviour
new mesh replacement to be treated as a sky. Currently the mesh just doesn't appear

Screenshots
before marking mesh as sky you can see it in game and its casting light but its blocking the sun because it's a standard mesh
image

after marking mesh as sky it disappears like below
image

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

No source file or test is named. Reproduce the issue using the supplied stable-hash mesh replacement and remix_category:sky = 1, then trace the handling of that category; done means the replacement remains visible and is treated as sky rather than disappearing.

Written by the indexing model from the issue text.

Assessment

Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.