Implementing Hex to BW function for luminance check
Enabling rasterbation based on luminance