Tachyon (current)
Current Main Branch
|
Tachyon ray tracing engine core routines and data structures compiled to PTX for runtime JIT to build complete ray tracing pipelines. More...
Go to the source code of this file.
Data Structures | |
struct | rt_texture |
structure containing Tachyon texture (only used on host side) More... | |
struct | rt_material |
structure containing Tachyon material properties More... | |
struct | rt_directional_light |
struct | rt_positional_light |
struct | ConeArraySBT |
struct | CurveArraySBT |
struct | CylinderArraySBT |
struct | QuadMeshSBT |
struct | RingArraySBT |
struct | SphereArraySBT |
struct | TriMeshSBT |
struct | GeomSBTHG |
struct | HGRecordGroup |
Store all hitgroup records for a given geometry together for simpler dynamic updates. More... | |
struct | tachyonLaunchParams |
Tachyon OptiX global launch parameter structure containing the active camera, framebuffer, materials, and any global scene parameters required for shading. More... | |
Macros | |
#define | TACHYON_USE_GEOMFLAGS 1 |
#define | RT_DEFAULT_MAX 1e27f |
#define | RT_CUSTPRIM 0 |
#define | RT_TRI_BUILTIN OPTIX_HIT_KIND_TRIANGLE_FRONT_FACE |
#define | M_PI 3.14159265358979323846 |
#define | M_PIf 3.14159265358979323846f |
#define | UINT32_RAND_MAX 4294967296.0f |
#define | UINT32_RAND_MAX_INV 2.3283064365e-10f |
#define | SQUARES_RNG_KEY1 0x1235d7fcb4dfec21 |
#define | SQUARES_RNG_KEY2 0x418627e323f457a1 |
#define | SQUARES_RNG_KEY3 0x83fc79d43614975f |
#define | SQUARES_RNG_KEY4 0xc62f73498cb654e3 |
Functions | |
struct | __align__ (OPTIX_SBT_RECORD_ALIGNMENT) HGRecord |
SBT record for a hitgroup program. More... | |
__host__ __device__ float2 | operator+ (const float2 &a, const float2 &b) |
__host__ __device__ float2 | operator+ (const float2 &a, const float s) |
__host__ __device__ float2 | operator- (const float2 &a, const float2 &b) |
__host__ __device__ float2 | operator- (const float2 &a, const float s) |
__host__ __device__ float2 | operator- (const float s, const float2 &a) |
__host__ __device__ float2 | operator* (const float2 &a, const float2 &b) |
__host__ __device__ float2 | operator* (const float s, const float2 &a) |
__host__ __device__ float2 | operator* (const float2 &a, const float s) |
__host__ __device__ void | operator*= (float2 &a, const float s) |
__host__ __device__ float2 | operator/ (const float s, const float2 &a) |
__host__ __device__ float3 | make_float3 (const float s) |
__host__ __device__ float3 | make_float3 (const float4 &a) |
__host__ __device__ float3 | operator+ (float3 a, float3 b) |
__host__ __device__ float3 | operator- (const float3 &a, const float3 &b) |
__host__ __device__ float3 | operator- (const float3 &a) |
__host__ __device__ void | operator+= (float3 &a, const float3 &b) |
__host__ __device__ float3 | operator+ (const float3 &a, const float &b) |
__host__ __device__ float3 | operator* (const float3 &a, const float3 &b) |
__host__ __device__ float3 | operator* (float s, const float3 &a) |
__host__ __device__ float3 | operator* (const float3 &a, const float s) |
__host__ __device__ void | operator*= (float3 &a, const float s) |
__host__ __device__ void | operator*= (float3 &a, const float3 &b) |
__host__ __device__ float3 | operator/ (const float3 &a, const float3 &b) |
__host__ __device__ float4 | make_float4 (const float3 &a, const float &b) |
__host__ __device__ float4 | make_float4 (const float a) |
__host__ __device__ void | operator+= (float4 &a, const float4 &b) |
__host__ __device__ float4 | operator* (const float4 &a, const float s) |
__host__ __device__ void | operator*= (float4 &a, const float &b) |
__host__ __device__ float3 | operator* (char4 a, const float s) |
__host__ __device__ float3 | operator* (uchar4 a, const float s) |
__host__ __device__ float3 | fabsf (const float3 &a) |
__host__ __device__ float3 | fmaxf (const float3 &a, const float3 &b) |
__host__ __device__ float | fmaxf (const float3 &a) |
__host__ __device__ float | dot (const float3 &a, const float3 &b) |
__host__ __device__ float | dot (const float4 &a, const float4 &b) |
__host__ __device__ float | length (const float3 &v) |
__host__ __device__ float3 | normalize (const float3 &v) |
Normalize input vector to unit length. More... | |
__host__ __device__ float3 | normalize_len (const float3 v, float &l) |
Normalize input vector to unit length, and return its original length. More... | |
__host__ __device__ float3 | normalize_invlen (const float3 v, float &invlen) |
Normalize input vector to unit length, and return the reciprocal of its original length. More... | |
__host__ __device__ float3 | cross (const float3 &a, const float3 &b) |
calculate the cross product between vectors a and b. More... | |
__host__ __device__ float3 | reflect (const float3 &i, const float3 &n) |
calculate reflection direction from incident direction i, and surface normal n. More... | |
__host__ __device__ float3 | faceforward (const float3 &n, const float3 &i, const float3 &nref) |
Ensure that an interpolated surface normal n faces in the same direction as dictated by a geometric normal nref, as seen from incident vector i. More... | |
static __host__ __device__ __inline__ uint32_t | qnd_rng (uint32_t &idum) |
static __host__ __device__ __inline__ uint32_t | msws_rng (uint64_t &x, uint64_t &w) |
template<unsigned int ROUNDS> | |
static __host__ __device__ __inline__ uint32_t | squares_rng (uint64_t counter, uint64_t key) |
template<unsigned int ROUNDS> | |
static __host__ __device__ __inline__ unsigned int | tea (uint32_t val0, uint32_t val1) |
static __device__ __inline__ float | goldenratioseq1d (int n) |
static __device__ __inline__ void | goldenratioseq1d_incr (float &x) |
static __device__ __inline__ void | goldenratioseq2d (int n, float2 &xy) |
static __device__ __inline__ void | goldenratioseq2d_incr (float2 &xy) |
static __device__ __inline__ void | goldenratioseq3d (int n, float3 &xyz) |
static __device__ __inline__ void | goldenratioseq3d_incr (float3 &xyz) |
static __device__ __inline__ void | goldenratioseq4d (int n, float2 &xy1, float2 &xy2) |
static __device__ __inline__ void | goldenratioseq4d_incr (float2 &xy1, float2 &xy2) |
static __device__ __inline__ void | jitter_offset2f (unsigned int &pval, float2 &xy) |
static __device__ __inline__ void | jitter_disc2f (unsigned int &pval, float2 &xy, float radius) |
static __device__ __inline__ void | jitter_offset2f_qrn (float2 qrnxy, float2 &xy) |
static __device__ __inline__ void | jitter_disc2f_qrn (float2 &qrnxy, float2 &xy, float radius) |
template<int UNORM> | |
static __host__ __device__ __inline__ float2 | OctEncode (float3 n) |
template<int UNORM> | |
static __host__ __device__ __inline__ float3 | OctDecode (float2 projected) |
static __host__ __device__ __inline__ uint | convfloat2uint32 (float2 f2) |
static __host__ __device__ __inline__ float2 | convuint32float2 (uint packed) |
static __host__ __device__ __inline__ uint | packNormal (const float3 &normal) |
static __host__ __device__ __inline__ float3 | unpackNormal (uint packed) |
static __forceinline__ __device__ float4 | sRGB_to_linear (const float4 &rgba) |
static __forceinline__ __device__ float4 | linear_to_sRGB (const float4 &lin) |
static __forceinline__ __device__ float4 | sRGB_to_linear_approx (const float4 &rgba) |
static __forceinline__ __device__ float4 | linear_to_sRGB_approx (const float4 &linear) |
static __forceinline__ __device__ float4 | sRGB_to_linear_approx_20 (const float4 &rgba) |
static __forceinline__ __device__ float4 | linear_to_sRGB_approx_20 (const float4 &linear) |
static __device__ __inline__ float | luminance (float3 c) |
static __device__ __inline__ float3 | rescale_luminance (float3 c, float newluminance) |
static __device__ __inline__ float3 | ACES_TMO (float3 c) |
static __device__ __inline__ float3 | reinhard_TMO (float3 c) |
static __device__ __inline__ float3 | reinhard_extended_TMO (float3 c, float maxwhite) |
static __device__ __inline__ float3 | reinhard_extended_luminance_TMO (float3 c, float maxL) |
Tachyon ray tracing engine core routines and data structures compiled to PTX for runtime JIT to build complete ray tracing pipelines.
Key data structures defined here are shared both by the compiled PTX core ray tracing routines, and by the host code that assembles the complete ray tracing pipeline and launches the pipeline kernels. Written for NVIDIA OptiX 7 and later.
Definition in file TachyonOptiXShaders.h.
#define M_PI 3.14159265358979323846 |
Definition at line 479 of file TachyonOptiXShaders.h.
Referenced by HSItoRGB(), parametric_grid_verts(), and pq_torus_knot().
#define M_PIf 3.14159265358979323846f |
Definition at line 482 of file TachyonOptiXShaders.h.
Referenced by jitter_disc2f(), jitter_disc2f_qrn(), tachyon_camera_dome_general(), and tachyon_camera_equirectangular_general().
#define RT_CUSTPRIM 0 |
Definition at line 165 of file TachyonOptiXShaders.h.
#define RT_DEFAULT_MAX 1e27f |
Definition at line 106 of file TachyonOptiXShaders.h.
Referenced by clip_ray_by_plane(), ray_sphere_clip_interval(), shader_template(), tachyon_camera_cubemap_general(), tachyon_camera_dome_general(), tachyon_camera_equirectangular_general(), tachyon_camera_octahedral_general(), tachyon_camera_oculus_rift_general(), tachyon_camera_orthographic_general(), tachyon_camera_perspective_general(), and TachyonOptiX::TachyonOptiX().
#define RT_TRI_BUILTIN OPTIX_HIT_KIND_TRIANGLE_FRONT_FACE |
Definition at line 166 of file TachyonOptiXShaders.h.
#define SQUARES_RNG_KEY1 0x1235d7fcb4dfec21 |
Definition at line 822 of file TachyonOptiXShaders.h.
Referenced by __miss__radiance_gradient_bg_sky_plane(), and __miss__radiance_gradient_bg_sky_sphere().
#define SQUARES_RNG_KEY2 0x418627e323f457a1 |
Definition at line 823 of file TachyonOptiXShaders.h.
#define SQUARES_RNG_KEY3 0x83fc79d43614975f |
Definition at line 824 of file TachyonOptiXShaders.h.
#define SQUARES_RNG_KEY4 0xc62f73498cb654e3 |
Definition at line 825 of file TachyonOptiXShaders.h.
#define TACHYON_USE_GEOMFLAGS 1 |
Definition at line 101 of file TachyonOptiXShaders.h.
#define UINT32_RAND_MAX 4294967296.0f |
Definition at line 739 of file TachyonOptiXShaders.h.
#define UINT32_RAND_MAX_INV 2.3283064365e-10f |
Definition at line 740 of file TachyonOptiXShaders.h.
Referenced by __miss__radiance_gradient_bg_sky_plane(), __miss__radiance_gradient_bg_sky_sphere(), jitter_disc2f(), and jitter_offset2f().
enum RayType |
Enumerator | |
---|---|
RT_RAY_TYPE_RADIANCE | normal radiance rays |
RT_RAY_TYPE_SHADOW | shadow probe/AO rays |
RT_RAY_TYPE_COUNT | total count of ray types |
Definition at line 138 of file TachyonOptiXShaders.h.
enum RtColorSpace |
Enumerator | |
---|---|
RT_COLORSPACE_LINEAR | linear rgba, gamma 1.0 |
RT_COLORSPACE_sRGB | Adobe sRGB (gamma 2.2) |
RT_COLORSPACE_COUNT | total count of available colorspaces |
Definition at line 208 of file TachyonOptiXShaders.h.
enum RtCustPrim |
Definition at line 199 of file TachyonOptiXShaders.h.
enum RtDenoiserMode |
Enumerator | |
---|---|
RT_DENOISER_OFF | denoiser disabled |
RT_DENOISER_ON | denosier on, std. impl. |
Definition at line 124 of file TachyonOptiXShaders.h.
enum RtHitKind |
Definition at line 147 of file TachyonOptiXShaders.h.
enum RtMatFlags |
Enumerator | |
---|---|
RT_MAT_NONE | default behavior |
RT_MAT_ALPHA | enable alpha transparency |
RT_MAT_TEXALPHA | enable tex cutout transparency |
Definition at line 221 of file TachyonOptiXShaders.h.
enum RtMergedPrimKind |
Enumerator | |
---|---|
RT_PRM_CONE | custom prim cone |
RT_PRM_CYLINDER | custom prim cylinder |
RT_PRM_QUAD | custom prim quadrilateral |
RT_PRM_RING | custom prim ring |
RT_PRM_SPHERE | custom prim sphere |
RT_PRM_TRIANGLE |
Definition at line 169 of file TachyonOptiXShaders.h.
enum RtShadowMode |
Enumerator | |
---|---|
RT_SHADOWS_OFF | shadows disabled |
RT_SHADOWS_ON | shadows on, std. impl. |
RT_SHADOWS_ON_REVERSE | any-hit traversal reversal |
Definition at line 118 of file TachyonOptiXShaders.h.
enum RtTexFlags |
Enumerator | |
---|---|
RT_TEX_NONE | default behavior |
RT_TEX_COLORSPACE_LINEAR | linear rgba, gamma 1.0 |
RT_TEX_COLORSPACE_sRGB | Adobe sRGB (gamma 2.2) |
RT_TEX_ALPHA | enable cutout/transparency |
Definition at line 214 of file TachyonOptiXShaders.h.
enum RtTonemapMode |
Definition at line 129 of file TachyonOptiXShaders.h.
struct __align__ | ( | OPTIX_SBT_RECORD_ALIGNMENT | ) |
SBT record for a hitgroup program.
SBT record for a miss program.
SBT record for a raygen program.
SBT record for an exception program.
Definition at line 353 of file TachyonOptiXShaders.h.
|
static |
Definition at line 1555 of file TachyonOptiXShaders.h.
References make_float3().
|
static |
Definition at line 1308 of file TachyonOptiXShaders.h.
Referenced by packNormal().
|
static |
Definition at line 1315 of file TachyonOptiXShaders.h.
Referenced by unpackNormal().
|
inline |
calculate the cross product between vectors a and b.
Definition at line 706 of file TachyonOptiXShaders.h.
Referenced by __intersection__cylinder_array_color(), __intersection__quadmesh(), get_shadevars_quadmesh(), get_shadevars_trimesh(), quad_calc_barycentrics_v11(), TachyonOptiX::set_camera_lookat(), tachyon_camera_cubemap_general(), tachyon_camera_dome_general(), tachyon_camera_equirectangular_general(), tachyon_camera_octahedral_general(), and vcross().
|
inline |
Definition at line 649 of file TachyonOptiXShaders.h.
Referenced by __intersection__cone_array_color(), __intersection__cylinder_array_color(), __intersection__quadmesh(), __intersection__ring_array(), __miss__radiance_gradient_bg_sky_plane(), __miss__radiance_gradient_bg_sky_sphere(), clip_ray_by_plane(), faceforward(), fog_coord(), get_shadevars_cone_array(), get_shadevars_cylinder_array(), length(), luminance(), normalize(), normalize_invlen(), ray_sphere_clip_interval(), reflect(), shade_ambient_occlusion(), shade_light(), shader_template(), and sphere_intersect_hearn_baker().
|
inline |
Definition at line 653 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 637 of file TachyonOptiXShaders.h.
References make_float3().
Referenced by __intersection__cylinder_array_color(), __intersection__quadmesh(), cam_equirectangular_stereo_ray(), OctDecode(), OctEncode(), quad_calc_barycentrics_v11(), and quad_calc_bilinear_coords().
|
inline |
Ensure that an interpolated surface normal n faces in the same direction as dictated by a geometric normal nref, as seen from incident vector i.
Definition at line 724 of file TachyonOptiXShaders.h.
References dot().
Referenced by calc_ffworld_normal().
|
inline |
Definition at line 641 of file TachyonOptiXShaders.h.
References make_float3().
|
inline |
Definition at line 645 of file TachyonOptiXShaders.h.
References fmaxf().
|
static |
Definition at line 908 of file TachyonOptiXShaders.h.
|
static |
Definition at line 920 of file TachyonOptiXShaders.h.
|
static |
Definition at line 930 of file TachyonOptiXShaders.h.
|
static |
Definition at line 947 of file TachyonOptiXShaders.h.
Referenced by jitter_disc2f_qrn().
|
static |
Definition at line 963 of file TachyonOptiXShaders.h.
|
static |
Definition at line 984 of file TachyonOptiXShaders.h.
|
static |
Definition at line 1004 of file TachyonOptiXShaders.h.
|
static |
Definition at line 1029 of file TachyonOptiXShaders.h.
|
static |
Definition at line 1066 of file TachyonOptiXShaders.h.
References M_PIf, qnd_rng(), and UINT32_RAND_MAX_INV.
Referenced by cam_orthographic_dof_ray(), cam_perspective_dof_ray(), and dof_ray().
|
static |
Definition at line 1101 of file TachyonOptiXShaders.h.
References goldenratioseq2d_incr(), and M_PIf.
|
static |
Definition at line 1058 of file TachyonOptiXShaders.h.
References qnd_rng(), and UINT32_RAND_MAX_INV.
Referenced by cam_equirectangular_aa_ray(), cam_equirectangular_aa_stereo_ray(), cam_fisheye_aa_ray(), cam_orthographic_aa_dof_ray(), cam_orthographic_aa_ray(), cam_perspective_aa_dof_ray(), cam_perspective_aa_ray(), tachyon_camera_cubemap_general(), tachyon_camera_dome_general(), tachyon_camera_equirectangular_general(), tachyon_camera_octahedral_general(), tachyon_camera_oculus_rift_general(), tachyon_camera_orthographic_general(), and tachyon_camera_perspective_general().
|
static |
Definition at line 1093 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 657 of file TachyonOptiXShaders.h.
References dot().
Referenced by __intersection__cylinder_array_color(), __intersection__ring_array(), gen_floor(), gen_teximg(), normalize(), normalize_len(), shader_template(), and sphere_fade_and_clip().
|
static |
Definition at line 1428 of file TachyonOptiXShaders.h.
Referenced by accumulate_color().
|
static |
Definition at line 1474 of file TachyonOptiXShaders.h.
References make_float3(), and make_float4().
|
static |
Definition at line 1500 of file TachyonOptiXShaders.h.
References make_float3(), and make_float4().
Referenced by accumulate_color().
|
static |
Definition at line 1534 of file TachyonOptiXShaders.h.
References dot(), and make_float3().
Referenced by reinhard_extended_luminance_TMO(), and rescale_luminance().
|
inline |
Definition at line 545 of file TachyonOptiXShaders.h.
Referenced by __exception__all(), __intersection__sphere_array(), ACES_TMO(), TachyonOptiX::add_directional_light(), TachyonOptiX::add_positional_light(), TriangleMesh::addCube(), CurveArray::addCurve(), clip_ray_by_plane(), fabsf(), fmaxf(), gen_spheresurf(), gen_wiremesh(), get_shadevars_sphere_array(), get_shadevars_trimesh(), linear_to_sRGB_approx(), linear_to_sRGB_approx_20(), luminance(), main(), make_float3(), OctDecode(), operator*(), operator+(), operator-(), operator/(), quad_calc_barycentrics_v11(), reinhard_extended_TMO(), reinhard_TMO(), TachyonOptiX::set_camera_lookat(), shade_light(), shader_template(), sRGB_to_linear_approx(), sRGB_to_linear_approx_20(), tachyon_camera_cubemap_general(), tachyon_camera_dome_general(), tachyon_camera_equirectangular_general(), tachyon_camera_octahedral_general(), tachyon_camera_oculus_rift_general(), tachyon_camera_orthographic_general(), and tachyon_camera_perspective_general().
|
inline |
Definition at line 549 of file TachyonOptiXShaders.h.
References make_float3().
|
inline |
Definition at line 601 of file TachyonOptiXShaders.h.
Referenced by clip_ray_by_plane(), linear_to_sRGB_approx(), linear_to_sRGB_approx_20(), make_float4(), operator*(), sRGB_to_linear_approx(), sRGB_to_linear_approx_20(), tachyon_camera_cubemap_general(), tachyon_camera_dome_general(), tachyon_camera_equirectangular_general(), tachyon_camera_octahedral_general(), tachyon_camera_oculus_rift_general(), tachyon_camera_orthographic_general(), and tachyon_camera_perspective_general().
|
inline |
Definition at line 605 of file TachyonOptiXShaders.h.
References make_float4().
|
static |
Definition at line 798 of file TachyonOptiXShaders.h.
|
inline |
Normalize input vector to unit length.
Definition at line 663 of file TachyonOptiXShaders.h.
References dot().
Referenced by __intersection__cylinder_array_color(), TachyonOptiX::add_directional_light(), calc_ffworld_normal(), dof_ray(), get_shadevars_cone_array(), get_shadevars_cylinder_array(), get_shadevars_quadmesh(), get_shadevars_trimesh(), TachyonOptiX::set_camera_lookat(), shade_light(), tachyon_camera_cubemap_general(), tachyon_camera_equirectangular_general(), tachyon_camera_octahedral_general(), tachyon_camera_oculus_rift_general(), tachyon_camera_orthographic_general(), and tachyon_camera_perspective_general().
|
inline |
Normalize input vector to unit length, and return the reciprocal of its original length.
Definition at line 691 of file TachyonOptiXShaders.h.
References dot().
|
inline |
Normalize input vector to unit length, and return its original length.
Definition at line 678 of file TachyonOptiXShaders.h.
References length().
Referenced by shader_template(), and sphere_intersect_hearn_baker().
|
static |
Definition at line 1248 of file TachyonOptiXShaders.h.
References fabsf(), and make_float3().
|
static |
Definition at line 1216 of file TachyonOptiXShaders.h.
References fabsf().
|
inline |
Definition at line 520 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 524 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 528 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 573 of file TachyonOptiXShaders.h.
References make_float3().
|
inline |
Definition at line 577 of file TachyonOptiXShaders.h.
References make_float3().
|
inline |
Definition at line 581 of file TachyonOptiXShaders.h.
References make_float3().
|
inline |
Definition at line 613 of file TachyonOptiXShaders.h.
References make_float4().
|
inline |
Definition at line 625 of file TachyonOptiXShaders.h.
References make_float3().
|
inline |
Definition at line 629 of file TachyonOptiXShaders.h.
References make_float3().
|
inline |
Definition at line 532 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 585 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 589 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 617 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 500 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 504 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 553 of file TachyonOptiXShaders.h.
References make_float3().
|
inline |
Definition at line 569 of file TachyonOptiXShaders.h.
References make_float3().
|
inline |
Definition at line 565 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 609 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 508 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 512 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 516 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 557 of file TachyonOptiXShaders.h.
References make_float3().
|
inline |
Definition at line 561 of file TachyonOptiXShaders.h.
References make_float3().
|
inline |
Definition at line 536 of file TachyonOptiXShaders.h.
|
inline |
Definition at line 593 of file TachyonOptiXShaders.h.
References make_float3().
|
static |
Definition at line 1332 of file TachyonOptiXShaders.h.
References convfloat2uint32().
|
static |
Definition at line 772 of file TachyonOptiXShaders.h.
Referenced by jitter_disc2f(), and jitter_offset2f().
|
inline |
calculate reflection direction from incident direction i, and surface normal n.
Definition at line 717 of file TachyonOptiXShaders.h.
References dot().
Referenced by shader_template().
|
static |
Definition at line 1589 of file TachyonOptiXShaders.h.
References luminance(), and rescale_luminance().
|
static |
Definition at line 1578 of file TachyonOptiXShaders.h.
References make_float3().
|
static |
Definition at line 1568 of file TachyonOptiXShaders.h.
References make_float3().
|
static |
Definition at line 1543 of file TachyonOptiXShaders.h.
References luminance().
Referenced by reinhard_extended_luminance_TMO().
|
static |
Definition at line 830 of file TachyonOptiXShaders.h.
|
static |
Definition at line 1398 of file TachyonOptiXShaders.h.
|
static |
Definition at line 1461 of file TachyonOptiXShaders.h.
References make_float3(), and make_float4().
|
static |
Definition at line 1490 of file TachyonOptiXShaders.h.
References make_float3(), and make_float4().
|
static |
Definition at line 876 of file TachyonOptiXShaders.h.
|
static |
Definition at line 1337 of file TachyonOptiXShaders.h.
References convuint32float2().
Referenced by get_shadevars_trimesh().