Optimized Visibility Functions for Revectorization-Based Shadow Mapping

نویسندگان

  • Márcio Cerqueira de Farias Macedo
  • Antônio L. Apolinário
  • K. A. Agüero
چکیده

High-quality shadow anti-aliasing is a challenging problem in shadow mapping. Revectorization-based shadow mapping (RBSM) minimizes shadow aliasing by revectorizing the jagged shadow edges generated with shadow mapping, keeping low memory footprint and real-time performance for the shadow computation. However, the current implementation of RBSM is not so well optimized because its visibility functions are composed of a set of 43 cases, each one of them handling a specific revectorization scenario and being implemented as a specific branch in the shader. Here, we take advantage of the shadow shape patterns to reformulate the RBSM visibility functions, simplifying the implementation of the technique and further providing an optimized version of the RBSM. Our results indicate that our implementation runs faster than the original implementation of RBSM, while keeping its same visual quality and ∗TR-PGCOMP-007/2017. Technical Report. Computer Science Graduate Program. Federal University of Bahia. 1 ar X iv :1 71 1. 07 79 3v 1 [ cs .G R ] 2 1 N ov 2 01 7 memory consumption. Furthermore, we show GLSL source codes to ease the implementation of our technique, provide a comparison between the optimized RBSM and related work, and discuss the limitations of the shadow revectorization.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Revectorization-Based Accurate Soft Shadow using Adaptive Area Light Source Sampling

Physically-based accurate soft shadows are typically computed by the evaluation of a visibility function over several point light sources which approximate an area light source. This visibility evaluation is computationally expensive for hundreds of light source samples, providing performance far from real-time. One solution to reduce the computational cost of the visibility evaluation is to ad...

متن کامل

Revectorization-Based Shadow Mapping

Real-time rendering of high-quality, anti-aliased shadows is a challenging problem in shadow mapping. Filtering the shadow map reduces aliasing, but artifacts are still visible for low-resolution shadow maps or small kernel sizes. Moreover, the existing techniques suffer from light leaking artifacts. Shadow silhouette recovery reduces perspective aliasing at the cost of large memory footprint a...

متن کامل

Euclidean Distance Transform Shadow Mapping

The high-quality simulation of the penumbra effect in real-time shadows is a challenging problem in shadow mapping. The existing shadow map filtering techniques are prone to aliasing and light leaking artifacts which decrease the shadow visual quality. In this paper, we aim to minimize both problems with the Euclidean distance transform shadow mapping. To reduce the perspective aliasing artifac...

متن کامل

Interactive global illumination based on coherent surface shadow maps

Interactive rendering of global illumination effects is a challenging problem. While precomputed radiance transfer (PRT) is able to render such effects in real time the geometry is generally assumed static. This work proposes to replace the precomputed lighting response used in PRT by precomputed depth. Precomputing depth has the same cost as precomputing visibility, but allows visibility tests...

متن کامل

Visually pleasing real-time global illumination rendering for fully-dynamic scenes

Global illumination (GI) rendering plays a crucial role in the photo-realistic rendering of virtual scenes. With the rapid development of graphics hardware, GI has become increasingly attractive even for real-time applications nowadays. However, the computation of physically-correct global illumination is time-consuming and cannot achieve real-time, or even interactive performance. Although the...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1711.07793  شماره 

صفحات  -

تاریخ انتشار 2017