Blender V4.3
bsdf_ray_portal.h File Reference

Go to the source code of this file.

Classes

struct  RayPortalClosure
 

Typedefs

typedef CCL_NAMESPACE_BEGIN struct RayPortalClosure RayPortalClosure
 

Functions

ccl_device void bsdf_ray_portal_setup (ccl_private ShaderData *sd, const Spectrum weight, uint32_t path_flag, float3 position, float3 direction)
 
ccl_device Spectrum bsdf_ray_portal_eval (ccl_private const ShaderClosure *sc, const float3 wi, const float3 wo, ccl_private float *pdf)
 

Typedef Documentation

◆ RayPortalClosure

typedef CCL_NAMESPACE_BEGIN struct RayPortalClosure RayPortalClosure

Function Documentation

◆ bsdf_ray_portal_eval()

ccl_device Spectrum bsdf_ray_portal_eval ( ccl_private const ShaderClosure * sc,
const float3 wi,
const float3 wo,
ccl_private float * pdf )

Definition at line 47 of file bsdf_ray_portal.h.

References zero_spectrum.

Referenced by bsdf_eval().

◆ bsdf_ray_portal_setup()