US 11,704,859 B2
System and method for accelerated ray tracing
Mark Evan Cerny, Los Angeles, CA (US)
Assigned to Sony Interactive Entertainment LLC, San Mateo, CA (US)
Filed by Sony Interactive Entertainment LLC, San Mateo, CA (US)
Filed on Aug. 20, 2020, as Appl. No. 16/998,195.
Prior Publication US 2022/0058854 A1, Feb. 24, 2022
Int. Cl. G06T 15/06 (2011.01); G06T 15/00 (2011.01)
CPC G06T 15/06 (2013.01) [G06T 15/005 (2013.01); G06T 2210/21 (2013.01)] 24 Claims
OG exemplary drawing
 
1. A method for graphics processing, comprising:
executing, on a graphics processing unit (GPU), a shader program that performs ray tracing of a 3D environment represented by an acceleration structure;
using a hardware-implemented ray tracing unit (RTU) within the GPU that traverses the acceleration structure at the request of the shader program; and
using, at the shader program, results of the acceleration structure traversal, wherein the RTU identifies at least first and second intersections of rays with elements in the acceleration structure, indicates intersections to the shader program, and the shader program performs hit testing, determining whether a ray passed through a transparent portion of an element or hit a non-transparent portion of the element wherein
when communicating results from the RTU to the shader program, the second intersection result is communicated before the first intersection result on the basis that the second intersection is closer to an origin of the ray than the first intersection.