Optix 6, been on this for a week now... Only raytype 0 hits. Totally stumped

Just before the launch I double check the raytypecount and it comes with the right amount(8).

I make sure that the materials are set with the right combination of programs and raytypes…

I tried different materials for each raytype or using the same material with different raytypes.

It always comes back the same: Any ray with index 0 hits, but nothing else.

Anything obvious I might be overlooking?

Any help is really appreciated


Edit: Ok, got it. Optix doesn’t seem to be too happy with the way I handled materials vs. raytypes. Eventually using one material and multiple raytypes it worked.