Skip to content

Commit

Permalink
Fix the Raytracing sample
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Sep 26, 2024
1 parent 1630806 commit 0676584
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Raytracing/Sources/raytracing.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,10 @@ int kickstart(int argc, char **argv) {
kope_g5_device_create_raytracing_hierarchy(&device, volumes, transforms, 3, &hierarchy);

{
rayset_parameters parameters;
rayset_parameters parameters = {0};
parameters.scene = &hierarchy;
parameters.render_target = &texture;
parameters.render_target_mip_level = 0;
kong_create_rayset_set(&device, &parameters, &rayset);
}

Expand Down

0 comments on commit 0676584

Please sign in to comment.