春季创作者特卖开启!从即日起至4月18日,精选商品最低三折起。

Unlit Gouraud/Phong Shading Material

Epoch Labs - 材质 - 2022/05/23

Unlit implementation of a Gouraud/Phong lighting model. Supports directional, point and spot lights with a Blueprint interface for control.

特价$13.99
$9.79登录购买
  • 支持的平台
  • 支持的引擎版本
    4.26 - 4.27, 5.0 - 5.3
  • 下载类型
    资源包
    此产品包含各种虚幻引擎资源,可以选择性导入现有的项目。

UPDATE 2.3: Blinn-Phong specular support has been added and is set to be enabled by default, this can be toggled in a material instance. Also fixed custom specular colour not being applied for point/spot lights.


UPDATE 2.2: Support for spot lights. Spot lights can be activated by changing the 'Spot Angle' variable on a point light. Setting this value to 0 will revert the light back to a point light. Added a new showcase level for spot lights. Also fixed specular not working with point lights.


UPDATE 2.1: New demo level for landscape materials and the new material fog function.


UPDATE 2.0: Complete re-write of the shader to be cleaner and more performant. Point lights now use a proper quadratic attenuation for light falloff. The point lighting system has been overhauled entirely and now uses a new Blueprint system to automatically enable and disable lights around the player Pawn.



Unlit implementation of a Gouraud/Phong lighting model. Supports directional, point and spot lights with a Blueprint interface for control.


This shading model allows the creation of games using vertex based Gouraud lighting or per pixel Phong lighting with a classical diffuse/specular format. Re-create the look of games from the 6th (Gouraud) and 7th (Phong) generation of consoles, or use it for cheap mobile rendering. All materials are unlit and use a Material Parameter Collection to control light and material options.


Included is an example scene made using the techniques of the 6th generation consoles; relying upon vertex colouring and vertex alpha to blend between textures. This pack is intended to be used as a base, so only some basic examples are included. Use your imagination and get creative with your usage.


Pairs well with: Stylized Retro Water Material


DISCLAIMER: Landscapes DO NOT support the Vertex Interpolator node required to use Gouraud mode. Landscapes will only work with Phong mode.

技术细节

Features:

  • Sample level made with old techniques
  • Support for up to 8 point lights by default
  • Directional light function with switch between Phong and Gouraud shading modes
  • Modular point light system
  • Spot lights as part of the point light system
  • Blueprint tools for controlling all lighting

Number of Unique Materials and Material Instances: 26

Number of Material Functions: 12

Number of Textures: 13

Texture Resolutions: 256x256, 512x256, 1024x1024, 2048x2048

Supported Development Platforms:

Windows: Yes

Mac: Yes

Documentation: Included in material functions