I want to convert an array into a 2D texture and pass it into shader’s uniform sampler2D variable.
Is there any good way?
Is there uniform sampler2D S with vtkTexture to achieve texture generation?
I want to convert an array into a 2D texture and pass it into shader’s uniform sampler2D variable.
Is there any good way?
Is there uniform sampler2D S with vtkTexture to achieve texture generation?