Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
HEModdingWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Rendering/PBR
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== These principles only apply to Hedgehog Engine 2 games (''Mario & Sonic at the Rio 2016 Olympic Games and'' onward) === PBR (Physically Based Rendering) refers to the current approach to 3D graphics material rendering used in most modern games. Its goal is to enhance the realism of surfaces by reflecting and refracting light more accurately than previous techniques. This is most noticeable in any kind of metallic surface:[[File:Metal pbr example.webp|center|thumb|Example of a metallic sphere in PBR rendering|200x200px]] PBR rendering tends to not make use of Diffuse maps and Specular Color Maps that were very common in non-PBR rendering. Instead, the primary texture maps it uses in their place are: Albedo Maps, Metallic Maps, Roughness Maps and Ambient Occlusion Maps. Albedo Maps differ from Diffuse Maps by generally not containing any kind of depth or lighting information.<gallery widths="300" heights="300"> File:Kdv earth03 dfxx k.webp|Diffuse texture example File:W03 kdv earth03 dfxx k ih1 abd.webp|Albedo texture example </gallery> Metallic Maps contain values ranging from 0-1(black-white). 0 determines a non-metallic surface while 1 determines a metallic surface. Values in between can and are used for stylistic and/or artistic purposes. [[File:Metallic.webp|center|thumb|Metallic texture example|150x150px]] Roughness Maps change how the surface reflects light by making the reflection sharper using a value of 0 (smoother surface) or blurrier/more diffuse using a value of 1 (rough surface). This more or less equals the inverse of typical Gloss Maps used in non-PBR rendering. [[File:Roughness.webp|center|thumb|Roughness texture example|150x150px]] Ambient Occlusion maps determine what areas of the surface should occlude more light when not directly illuminated. 0 represents the most light occlusion and 1 represents no light occlusion. [[File:Ambient occlusion.webp|center|thumb|Ambient occlusion texture example|150x150px]] non-PBR vs PBR rendering (same lighting conditions):<gallery widths="300" heights="300"> File:Grass nonpbr.webp|Grass from Sonic The Hedgehog (2006) rendered in Blender File:Grass pbr.webp|Grass from Shadow Generations rendered in Blender </gallery>In the Hedgehog Engine 2 games, PBR properties can be altered either by the Parameter map (_prm) when the material shader supports it (has the letter "p" in its name) or through a "PBRFactor" parameter in the surface's material if the shader being used doesn't support Parameter maps. '''The layout of these Parameter maps varies depending on the game and the shader.''' All textures/maps used to create the final rendered image:<gallery widths="140" heights="140"> File:Ark platform albedo.webp|Albedo maps File:Ark platform normal b.webp|Normal maps File:Ark platform parameter.webp|Parameter maps File:Ark platform emission.webp|Emission maps </gallery>Final rendered image with added lighting: [[File:Ark platform.webp|center|thumb|250x250px]]
Summary:
Please note that all contributions to HEModdingWiki are considered to be released under the Creative Commons Attribution-ShareAlike (see
HEModdingWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)