Voxel Rendering with shaders

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By BrickBreaker

I am trying to render a scene using voxels (specifically a grid of billboarded squares that inherit their color from the nearest mesh) but I have no real experience with shaders and couldn’t find any resources about how to achieve this online. any advice, starting points, or existing shaders I can work from?