Changes

Jump to: navigation, search

TeamDS

15 bytes added, 23:27, 4 April 2017
How does Signed Distance Field work?
'''SDF version is actually much different than the original image. ''' the SDF version no longer stores the pixel color intensity like normal images do, but instead stores the distance to nearest opposite color. For example, since monochromatic images only have black and white, for every white pixel, you look for the nearest black pixel and stores the distance between the two and vice versa.
To read the SDF version of image, we will need to use a custom shader that can understand the SDF version. With help of custom shaders, we can do many more effects such as edge glows, drop shadows, soft edges and etc. All these effects at virtually no additional rendering costs.
116
edits

Navigation menu