Lighting geometry regardless of face normal direction, and lighting that wraps around geometry

it easy to use UE realize this,but my English is not good.so I talk it with chinese, 你给出的参考上面给出了相应的公式,我们可以理解为它是一种简易光照模型 Lambert 的变体,使用材质即可以简单完成,如图一。
但是你实际参考的效果,类似于忽略Normal这么写是行不通的,我可以给你一个简单的参考。此处是一种简单的衰减写法I = k / d^2,为了方便你可以替换为其他的衰减公式。如图二和三


QQ录屏20231205133823