Re: Reverse 'Sample'


Forums > Gen > Reverse 'Sample'
August 9, 2012 | 5:47 pm

Unfortunately this is not possible. A matrix input can be sampled from at any position but you can’t write to arbitrary locations of the output. Conceptually, Gen code is designed to be run once per cell of the output matrix, and each cell is unaware of what is happening with the other cells. This is consistent with how GLSL code is written.