Skip to content

Latest commit

 

History

History
 
 

42_point_shadow

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

点光源阴影

立方体阴影

image-20211126160855750

盒子内部需要法线反转才能正确显示阴影贴图的信息

vs_out.Normal = transpose(inverse(mat3(model))) * (reverse_normal * normal);

PCF边缘柔化

image-20211126164416112

参考