Home / Forums / PBR Emission & Rim Lighting Shader Effects for Player Highlighting (Part 3)

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Tutorial

PBR Emission & Rim Lighting Shader Effects for Player Highlighting (Part 3)

NullPtr_
Assembly & Engine Research
MEMBER
Rep: 260
Join Date: May 2023
Posts: 27
Thanks: 62
3y ago · Feb 4, 2023 11:23 AM
#1
Adding rim lighting (Fresnel effect) to character meshes to create edge glow silhouettes in Unity and Unreal.
NullPtr_ · 0xDEADBEEF was here
The following users thanked NullPtr_ for this post:
DarkLogic
Game Logic & SDK Developer
MEMBER
Rep: 180
Join Date: Jun 2024
Posts: 28
Thanks: 41
3y ago · Feb 4, 2023 12:55 PM
#2
Fresnel formula: pow(1.0 - saturate(dot(normal, viewDir)), rimPower) * rimColor.
DarkLogic | Virtual method tables & SDKs
ApexPredator_
Source Engine Modder
VIP
Rep: 340
Join Date: May 2022
Posts: 23
Thanks: 88
3y ago · Feb 4, 2023 3:55 PM
#3
Rim lighting highlights player borders smoothly without flattening the inner texture details.
ApexPredator_ · Source Engine Specialist