Optimized Visibility Functions for Revectorization-Based Shadow Mapping

11/21/2017
by   M. C. F. Macedo, et al.
0

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 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.

READ FULL TEXT

page 1

page 4

page 11

page 12

page 17

page 18

page 20

page 21

research
10/20/2022

Thwarting Piracy: Anti-debugging Using GPU-assisted Self-healing Codes

Software piracy is one of the concerns in the IT sector. Pirates leverag...
research
08/21/2017

3D Visibility Representations of 1-planar Graphs

We prove that every 1-planar graph G has a z-parallel visibility represe...
research
01/12/2023

On Voronoi visibility maps of 1.5D terrains with multiple viewpoints

Given an n-vertex 1.5D terrain and a set of m<n viewpoints, the Vorono...
research
06/09/2017

A Focal Any-Angle Path-finding Algorithm Based on A* on Visibility Graphs

In this research, we investigate the subject of path-finding. A pruned v...
research
08/10/2023

Visibility-Constrained Control of Multirotor via Reference Governor

For safe vision-based control applications, perception-related constrain...
research
01/26/2023

Screen Space Indirect Lighting with Visibility Bitmask

Horizon-based indirect illumination efficiently estimates a diffuse ligh...
research
09/23/2015

A shared memory implementation of pipelined Parareal

The paper introduces an OpenMP implementation of pipelined Parareal and ...

Please sign up or login with your details

Forgot password? Click here to reset