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.

  • サポートされたプラットフォーム
  • サポートされたエンジンバージョン
    4.26 - 4.27, 5.0 - 5.3
  • ダウンロードのタイプ
    アセット パック
    この製品には、Unreal Engine アセットを詰め合わせたものが入っています。任意の既存プロジェクトにインポート可能です。

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