In this video I demonstrate using a 4-bit comparator built inside my voxel engine (DirectX 11). A binary comparator compares two binary numbers and yields one of three possible states: the two numbers are equal, the first number is greater, or the second number is greater. The three possible states are shown in the video.