Skip to content

MaZhengKe/LensFlareVR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unity的URP和HDRP针对LensFlare也就是炫光,使用的是同一套逻辑(LensFlare(SRP))。但就是不支持VR,无论是单通道还是多通道。

Unity这样做也有一定的道理,本来这个效果就是模拟镜头的一种缺陷,人眼一般不会看到这种炫光,所以VR不支持也是理所当然的。 但本着没事找事的心态,权当练习,我翻看了这部分的源码,做了一点修改,使之能兼容VR。

效果如下: 平行光 点光源

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published