Shaders | Unity | HLSL
PBR Shader - Visual Likeness Study
This shader was created using the Cook-Torrence model. Goal was to achieve realistic visual likeness using my own shaders. Picture on the left is the reference image and the picture on the right is captured directly from Unity in real-time. Additionally, I used the Blinn model with a reflection probe to get the reflections coming of the coffee table. This shader uses a diffuse map and a normal map, reflections are driven by 2 parameters, diffuse and smoothness factor.
All the models in the scene are downloaded from Unity Asset Store. I modified couple of the models to match the exact shape of the various objects. I used Substance Painter for the textures.