Cleanup: spelling & typo in last commit
This commit is contained in:
parent
e8df5cec83
commit
d8b8089630
@ -15,7 +15,7 @@ CCL_NAMESPACE_BEGIN
|
||||
struct GuidingRISSample {
|
||||
float3 rand;
|
||||
float2 sampled_roughness;
|
||||
/* The relative ior of the outgoing media and the incoming media. */
|
||||
/* The relative IOR of the outgoing media and the incoming media. */
|
||||
float eta{1.0f};
|
||||
int label;
|
||||
float3 wo;
|
||||
|
@ -196,7 +196,8 @@ static void eevee_init_util_texture()
|
||||
texels_layer[y * 64 + x][0] = blender::eevee::lut::bsdf_ggx[j][y][x][0];
|
||||
texels_layer[y * 64 + x][1] = blender::eevee::lut::bsdf_ggx[j][y][x][1];
|
||||
texels_layer[y * 64 + x][2] = blender::eevee::lut::bsdf_ggx[j][y][x][2];
|
||||
/* BTDF LUT for `IOR > 1`, parametrized differently as above. See `eevee_lut_comp.glsl`. */
|
||||
/* BTDF LUT for `IOR > 1`, parameterized differently as above.
|
||||
* See `eevee_lut_comp.glsl`. */
|
||||
texels_layer[y * 64 + x][3] = blender::eevee::lut::btdf_ggx[j][y][x][0];
|
||||
}
|
||||
}
|
||||
|
@ -125,7 +125,7 @@ vec4 ggx_bsdf_split_sum(vec3 lut_coord)
|
||||
/* Generate BTDF LUT for `IOR > 1` using Schlick's approximation. Only the transmittance is needed
|
||||
* because the scale and bias does not depend on the IOR and can be obtained from the BRDF LUT.
|
||||
*
|
||||
* Parametrize with `x = sqrt((ior - 1) / (ior + 1))` for higher precision in 1 < IOR < 2,
|
||||
* Parameterize with `x = sqrt((ior - 1) / (ior + 1))` for higher precision in 1 < IOR < 2,
|
||||
* and `y = sqrt(1.0 - cos(theta))`, `z = roughness` similar to BRDF LUT.
|
||||
*
|
||||
* The result is interpreted as:
|
||||
|
@ -663,7 +663,7 @@ void WM_exit_ex(bContext *C, const bool do_python_exit, const bool do_user_exit_
|
||||
// free_txt_data();
|
||||
|
||||
#ifdef WITH_PYTHON
|
||||
/* Option not to exit Python so this function can called from 'atexit'. */
|
||||
/* Option not to exit Python so this function can be called from 'atexit'. */
|
||||
if ((C == nullptr) || CTX_py_init_get(C)) {
|
||||
/* NOTE: (old note)
|
||||
* before BKE_blender_free so Python's garbage-collection happens while library still exists.
|
||||
@ -675,7 +675,7 @@ void WM_exit_ex(bContext *C, const bool do_python_exit, const bool do_user_exit_
|
||||
BPY_python_end(do_python_exit);
|
||||
}
|
||||
#else
|
||||
(void)do_python;
|
||||
(void)do_python_exit;
|
||||
#endif
|
||||
|
||||
ED_file_exit(); /* For file-selector menu data. */
|
||||
|
Loading…
Reference in New Issue
Block a user