Skip to content

dong-zhan/cubemap-depthmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cubemap-depthmap

this can be used to bake shadow for point light in blender, see end result :)

vertex/pixel shader to generate depth map

cube render target is created with flag DXGI_FORMAT_R32_FLOAT

scene (the models in scene has only one half :P)

alt text

resulting depthmap in texture uv space

alt text

end result alt text

About

cube map depth map hlsl point light

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published