{'fraction_non_alphanumeric': 0.0194585448392555, 'fraction_numerical': 0.0025380710659898475, 'mean_word_length': 5.838150289017341, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Generalized linear perspective shadow map reparameterization

Shadow mapping is an efficient approach for real-time shadow rendering, but it usually suffers from inherent aliasing artifacts due to the image-based nature. The aliasing errors of shadow mapping can be classified into two categories: perspective aliasing errors and projection aliasing errors. In this paper, we present the Generalized Linear Perspective Reparameterization (GLPR) of shadow maps to reduce perspective aliasing errors. The generalized perspective reparameterization function is formulized first, in which three parameters are taken into account: 1) the cross angle between the view and light direction, 2) the distance from the projection reference point to the near plane in the perspective warping frustum, and 3) the pixel's depth. The distribution of perspective aliasing errors of all currently existing perspective reparamterizations can be uniformly described by this function. Based on this generalized representation, the direction-dependent warping transform is chosen to keep the linear perspective aliasing distribution when the light direction is not perpendicular with the view direction.