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

Marking a mesh replacement as sky makes the mesh disappear

Open tadpole3159 opened this issue 2 years ago • 1 comments

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

tadpole3159 avatar Nov 22 '23 19:11 tadpole3159

REMIX-2437 for tracking.

NV-DM avatar Nov 22 '23 22:11 NV-DM