Branch-free HSV to RGB conversion in shader

From Epic Wiki
Jump to: navigation, search

Template:Rating Template:Review

Original Author: DarthCoder (talk)

Certain color operations can become far easier in HSV color space, unfortunately Unreal 4 includes only an RGB to HSV shader node in the engine by default. This is a simple HSV to RGB conversion shader function based on the branch-free function found on the lolengine blog.