|
Blender V5.3
|
Functions | |
| float | alpha_threshold (float hash_scale, float hash_offset, float3 P) |
Surface-stable alpha testing [wymn2017], using PCG as the underlying hash.
Definition at line 29 of file eevee_transparency.bsl.hh.
References alpha_threshold(), ceil, clamp(), exp2, floor, fract(), gpu_dfdx(), gpu_dfdy(), length(), log2, max, min, mix, P, random::pcg(), float2::x, float3::x, x, float2::y, float3::y, and float3::z.
Referenced by alpha_threshold(), and eevee::surf_depth().