| .. | ||
| bsdf_functions.h | ||
| bsdf_structs.h | ||
| constants.glsl | ||
| dh_comp.h | ||
| dh_hdr.h | ||
| dh_inspector.h | ||
| dh_lighting.h | ||
| dh_scn_desc.h | ||
| dh_sky.h | ||
| dh_tonemap.h | ||
| func.glsl | ||
| ggx.glsl | ||
| hdr_dome.comp | ||
| hdr_env_sampling.glsl | ||
| hdr_integrate_brdf.comp | ||
| hdr_prefilter_diffuse.comp | ||
| hdr_prefilter_glossy.comp | ||
| light_contrib.glsl | ||
| passthrough.vert | ||
| pbr_mat_eval.glsl | ||
| pbr_mat_struct.h | ||
| random.glsl | ||
| ray_util.glsl | ||
| README.md | ||
| sky.comp | ||
| tonemapper.comp | ||
| tonemapper.frag | ||
Table of Contents
bsdf_functions.h
Function absorptionCoefficient
Compute the absorption coefficient of the material
Function bsdfEvaluate
Evaluate the BSDF for the given material
Function bsdfSample
Sample the BSDF for the given material
bsdf_structs.h
struct BsdfEvaluateData
Data structure for evaluating a BSDF
struct BsdfSampleData
Data structure for sampling a BSDF
dh_comp.h
Function getGroupCounts
Returns the number of workgroups needed to cover the size
This function is used to calculate the number of workgroups needed to cover a given size. It is used in the compute shader to calculate the number of workgroups needed to cover the size of the image.
dh_inspector.h
Function inspect32BitValue
Inspect a 32-bit value at a given index
Function inspectCustom32BitValue
Inspect a 32-bit value at a given index
dh_sky.h
Function initSkyShaderParameters
Initializes the sky shader parameters with default values
Function proceduralSky
Return the color of the procedural sky shader
dh_tonemap.h
Function tonemapFilmic
Filmic tonemapping operator http://filmicworlds.com/blog/filmic-tonemapping-operators/
Function gammaCorrection
Gamma correction see https://www.teamten.com/lawrence/graphics/gamma/
Function tonemapUncharted
Uncharted tone map see: http://filmicworlds.com/blog/filmic-tonemapping-operators/