Path Tracing
Loading...
Searching...
No Matches
Hit Struct Reference

ior = index of refraction (only used with MAT_GLASS) More...

Public Attributes

float t
vec3 pos
vec3 normal
vec3 geom_normal
vec3 albedo
vec3 emission
int material
float ior
float light_area
 Used for MIS.
vec3 lift
 Offset from the flat triangle to the smooth surface, for rays leaving it.

Detailed Description

ior = index of refraction (only used with MAT_GLASS)

Member Data Documentation

◆ albedo

vec3 Hit::albedo

◆ emission

vec3 Hit::emission

◆ geom_normal

vec3 Hit::geom_normal

◆ ior

float Hit::ior

◆ lift

vec3 Hit::lift

Offset from the flat triangle to the smooth surface, for rays leaving it.

See also
terminatorLift

◆ light_area

float Hit::light_area

Used for MIS.

◆ material

int Hit::material

◆ normal

vec3 Hit::normal

◆ pos

vec3 Hit::pos

◆ t

float Hit::t

The documentation for this struct was generated from the following file: