Skip to main content

HIT_KIND_FRONT_FACING_TRIANGLE

Constant HIT_KIND_FRONT_FACING_TRIANGLE 

Source
const HIT_KIND_FRONT_FACING_TRIANGLE: u32 = 0xFE;
Expand description

Values of OpHitObjectGetHitKindEXT greater than or equal to this indicate a triangle hit; smaller values come from intersection shaders.

0xFE is a front-facing triangle and 0xFF is a back-facing one.