Hey guys, I have a question concerning the use of IOR on games.
We know that one of the key points on making a believable material is adjusting the IOR value, specially when talking about metal and glass.
I know that there are ways to change the IOR value of your metal on engines like UE4 and unity, but my questions is:
Is that optimal? Is it commonly used on games? Or it will make the engine heavier by having this extra math going on behind every metal shader.
Thanks!
Replies
For example, for dieletric materials f1.45 could be replaced with a sRGB value of 60 (r60 g60 b60)
for metals you should put the diffuse black and the proper metal color in the reflection instead.
But depend also about the engine and his workflow, so proably you have to use the metalness workflow that is another story bu behind it you have the same theory.
cheers.
not really, I mean Substance painter and Designer take care of the most par, but is really better to know what are you doing, understand a little bit of theory is always better.
I think there is some confusion with IOR, that IOR is something magical that game artists can't control with real-time shaders. In reality, IOR is just a different scale or unit system for defining reflectivity (literally, how reflective a material is). IOR isn't "math heavy" per say, it's just a really inconvenient and confusing reference system to use (for instance, metals and insulators map to different IOR scales), so the 0-100% reflectivity system is generally used instead.
So, unless you're doing some scientific thing and getting the exact IOR is very important to your project, you can safely ignore the concept of IOR in games.