Skip to content
This repository has been archived by the owner on Apr 29, 2021. It is now read-only.

Variance shadow mapping for omni lights with Vulkan

License

Notifications You must be signed in to change notification settings

sydneyzh/variance_shadow_mapping_vk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Variance shadow mapping for omni lights with Vulkan

vsm_vk

Render routine:

  • Render pass shadow map
    • one draw call, write to one color attachment with 6 layers
  • Render pass Gaussian filter (x direction)
    • one draw call, write to six color attachments with single layer
  • Render pass Gaussian filter (y direction)
    • same as above
  • Render pass on screen

A blog post discussing the details:

Rendering dynamic cube maps for omni light shadows with Vulkan API

Controls:

  • orbit: left/right/up/down arrow keys
  • pan: A/D/R/F
  • forward and backward: W/S
  • freeze/unfreeze light: F1
  • pause animation: P

About

Variance shadow mapping for omni lights with Vulkan

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published