Understanding game textures, PBR diffuse AO what is this !?

in #tutorial6 years ago

Hello Steemit community!

If you saw my previous posts and have little experience with 3D modeling and game art you probably are lost at "What is this map do" or "I don't understand the materials". So I came up with some clarification on the topic.

Ok, so the first question is - what are these textures / maps? It's simple, those are just images, yes - regular 2D images that are wraped on a 3D model in a certain way.
In order to have a good texture around model, first you have to create the Texture Coordinates - UV's for short.
Examples of good and bad uv's:

Bad.png
good.png

Now we have got that topic explained, next one is important one - "What ingame shader we are using?"

Is it Standard or PBR ?

Standard.PNG
When it comes to a Standard shader materials those are the combinations we are going to use and as a example I will show maps from my past post.

First is AO, reason is that it is used in other map as detail enhancer and is essential to have it. It is a black and white map that represents areas that have shadows.

Next is Diffuse, this is our main color map it typically includes our AO map to enhance the detail of it.

Look how simple AO can add depth to a base color:

Diffse_gif.gif

Final Diffuse looks like this:

Next is specular, it defines how much shininess the obcject has - the brighter the pixels are, the shinier the surface will appear in-game. Look at the edges and scratches, how much white is there. It is to define the geometry shape better also scratches are more visable that way.

Final Specular looks like this:

Next is gloss map, a texture that controls the width/power of the specular highlights from real-time lights.

Finall gloss map looks like this:

Final commonly used map is normal. Normal maps are a type of Bump Map. They are a special kind of texture that allow you to add surface detail such as bumps, grooves and scratches to a model which catch the light as if they are represented by real geometry. This map is used for two reasons, it adds roudnness to the object at the edges and adds details to the surface.

Final normal map looks like this:

What those maps do on the model? Lets find out! :) - Renderer: Marmoset Toolbag 3.0

Gif.gif

PBR.PNG

This is a new way of doing textures for models, it is referenced as "Next gen texturing" although it is already commonly used in PC games.

One thing to note: there are lots of diffrent workflow's around PBR some game engine's like metalness workflow some like specular, for detailed information you should read game engine specification.

Main Diffrences in using PBR shaders instead of normal ones:

  • We do not use Diffuse map we use Albedo map so its just our base color map without AO, just to remind - our old base color Diffuse map include AO, albedo do not.
  • To define metals better we use metalness/metalic map, it is a grayscale map that uses white pixels as metal material, black pixels as non metal materials. There also can be grey values such for example dirt that covers metal.
  • Roughness, also known as microsurface map, describes how light bounces from the object so it defines the characteristics of a material. White pixels represents very glossy areas while dark represents rough areas. It is Inverted gloss map.

Examples:

Albedo:

albedo.PNG

Metalic:

Metalic.PNG

Roughness:

roughness.PNG

What those maps do on the model? Lets find out! :)

gif_2.gif

Hope you enjoyed this presentation if you want more feel free to comment and sugest what I should cover next.

Previous post - 3D gameart - Skateboard breakdown

Website - My Website

My Unity Asset Store - My Store

Thanks for Visit! until next time!

Sort:  

You got a 35.94% upvote from @th3voter thanks to: @martin-p!



Image Source cloudinary.com


This post has upvoted from @th3voter !For more information, click here!

You can earn daily profit by delegating SP to our bot, 100% of earnings paid out to delegators. To do so, click below:
30SP, 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP, 10000SP,
Custom Amount
Make sure you have at least 15 SP left on your account.

Great job Martin, a lot of maps here :)... you have put in two models. The gifs with the maps added one after another are realy nice... it shows the difference in a very clear way.

yeah tried my best to explain :)

You got a 4.56% upvote from @oceanwhale With 35+ Bonus Upvotes courtesy of @martin-p! Delegate us Steem Power & get 100%daily rewards Payout! 20 SP, 50, 75, 100, 150, 200, 300, 500,1000 or Fill in any amount of SP Earn 1.25 SBD Per 1000 SP | Discord server

Congratulations @martin-p! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the number of posts published

Click on the badge to view your Board of Honor.
If you no longer want to receive notifications, reply to this comment with the word STOP

To support your work, I also upvoted your post!

Do not miss the last post from @steemitboard!


Participate in the SteemitBoard World Cup Contest!
Collect World Cup badges and win free SBD
Support the Gold Sponsors of the contest: @good-karma and @lukestokes


Do you like SteemitBoard's project? Then Vote for its witness and get one more award!

Coin Marketplace

STEEM 0.19
TRX 0.19
JST 0.033
BTC 89479.36
ETH 3038.26
USDT 1.00
SBD 2.80