Unreal Engine虚幻游戏引擎素材资源 Unreal Engine Marketplace –Custom Lens Flares Material定制镜头光斑材质



此内容旨在帮助模拟自定义镜头光斑效果,例如光源周围的简单光斑、太阳或变形镜头光斑,并正确处理对象重叠时的情况。
镜头光斑的这种实现使用材质(着色器)来控制镜头光斑的不透明度,并使用粒子系统来渲染效果。该材料将存储在深度缓冲区中的值与屏幕上几个点到相机的距离进行比较。在最简单的情况下,它将粒子中心的深度值与粒子到摄影机的距离进行比较。
技术细节
-正确处理重叠
-适用于所有摄影机和视口,独立于FOV和纵横比
-可选择根据重叠区域的大小控制强度
-适用于分屏
-在C++中不实现任何新的UbObjts
-仅在GPU端运行
包装包含:
-创建具有附加效果的光源的蓝图
-具有各种光斑材质的光斑材质和实例
-粒子系统,可以用作自定义镜头光斑效果的模板
-演示级别
标签
现实环境



This content is designed to help simulate custom lens flare effects like simple flares around light sources, sun, or anamorphic lens flares and correctly handle cases when objects are overlapped.

This realization of the lens flares uses a material (shader) to control lens flares opacity and particle system to render the effect. The material compares values stored in depth buffer with distance to camera for a few points on a screen. In simplest case, it compares depth value for center of a particle with distance from the particle to camera.

技术细节
– Correctly handles overlapping
– Works for all cameras and viewports, independently of FOV and aspect ratio
– Has options to control intensity in relation to size of overlapping area
– Works with split screen
– Doesn’t implement any new UObjects in C++
– Runs on GPU side only

The package contains:
– A blueprint to create a light source with attached effect
– Lens Flare master material with various instances and flare texture
– Particle system that can be used as template to customized lens flare effects
– Demo level
标签
REALISTIC ENVIRONMENTS

隐藏内容

此处内容需要权限查看

  • 普通5金币
  • 会员免费