Search Issue Tracker
Active
Under Consideration for 6000.0.X, 6000.1.X
Votes
1
Found in
6000.0.0f1
6000.1.0a3
Issue ID
UUM-85733
Regression
No
[RayTracing] Impossible to identify individual instances added using RTAS.AddInstances in a compute shader when using ray queries.
*Steps to reproduce:*
1. Use a system that supports ray tracing (e.g. Windows 10/11 + RTX GPU).
2. Open the project attached and open ComputeShaderRayQuery scene, switch to Game View.
3. Notice the tall objects in the background using the same light green color which is read in ComputeShaderRayQuery.compute at this line:
{code:java}
outColor.xyz = g_InstanceColors[q.CommittedInstanceID()];{code}
*Actual results:* All instances added using RTAS.AddInstances have the same color and *CommittedInstanceID()* HLSL function returns the same value for all instances.
*Expected results:* Instances added using RTAS.AddInstances have different colors.
*Reproducible with versions:* 6000.0.23f1
*Not reproducible with versions:* N/A
*Tested on (OS):* Windows 11, NVIDIA RTX 4070 Ti SUPER GPU.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Building "ManagedStripping" fails when a script uses a custom package
- [Quest] Visual artifacts are present when rendering Spot lights with Forward+ Rendering Path in XR
- [ColorCheckerTool] DropDown menu appears in the wrong location
- [ColorCheckerTool] Documentation icon leads to a broken documentation page
- [RayTracing] Impossible to identify individual instances added using RTAS.AddInstances in a compute shader when using ray queries.
Add comment