Am Freitag, 31. August 2007 09:35 schrieb H. Verbeet: > On 30/08/2007, Stefan Dösinger <stefandoesinger at gmx.at> wrote: > > The preferred way to do that is to use shader_glsl_get_sample_function(). Yes, but additionally to the sampling function I needed the dimension of the vector cast, so I'd have needed a switch myself too.