Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : OutOfMemoryError updating textures to a PShader

$
0
0
Thats weird, there is an index uniform in the shader. Anyway, try to remove the line

  1.  kSmooth.set("index", texIndex);

from the draw() function and the line

  1. uniform int index;

from the shader, that variable is not used in the example , forgot to remove it 

Viewing all articles
Browse latest Browse all 1768

Trending Articles