Search Unity

Question Is it possible to control raw ray tracing rays, to set angle and get range, etc?

Discussion in 'General Graphics' started by CptanPanic, Dec 19, 2022.

  1. CptanPanic


    Dec 19, 2022
    I am looking to use Unity for a simulation that currently uses a custom renderer using OptiX, and want to see if I can port this to Unity. I need to be able to get the range and color, and ray angle at each hit for each ray. Also would like to be able to control the angles of the rays in case I don't want them to have linear spacing. Can this be done in Vanilla Unity?