Get Specular reflections from IOR

The official Blender documentation provides a method to get the “Specular” value for the PBR-material reflections if the “IOR” value is known. To get the “Specular” value from the “IOR” value, we can use the following equation:

It is not difficult to create it with nodes:

Continue reading “Get Specular reflections from IOR”

Texture pixelization

The simplest way to pixelate texture, procedural or not – get the color from the single pixel and fill the region with required width and height (resolution) with this color.

Here is the gradient texture with red – green – blue colors:

To pixelate it with the first step of resolution we can make some vectors manipulations.

Continue reading “Texture pixelization”

OpenGl – DirectX norma map converter node group in Blender

Normal maps are usually saved in one of the two most common formats: OpenGL or DirectX. Blender uses OpenGL specification. Trying to use normal maps saved in another format will result in the wrong visual effect. To convert normal maps to the desired format the “OpenGL – DirectX Normal Map Converter” node group from the BIS material library can be used.

The samples of use:

Continue reading “OpenGl – DirectX norma map converter node group in Blender”