Aleksandr Gruzdev

Technical Artist

This is an extension of base pbr shader. It uses light probes for lighting on game levels, and Image Based Lighting for menu scene. For IBL it samples one of the smallest mips of the reflection map in the vertex shader and uses it as ambient light in the fragment shader.

char

As it uses light probes for game levels, characters may look too dark on some levels or areas and blend in with the environment. To fix this we have extra highlight settings for each level

after
before


And here's how the settings looks like:

settings

Shader has 4 adjustable colors using rgba color mask, + tint masked by alpha from albedo texture from original shader, so it's easy to make recolor skins just with materials. It's also possible to make smooth color transitions with proper color mask.

char

And there is an option to make animated skin with texture pattern

anim