Two different nodes/materials with two different SCNProgram's (OpenGL es)

Hi,


I have a scene with two different nodes. Each node has his own material and each material has a different SCNProgram (OpenGL es).

When the scene is rendered it looks like if both nodes are rendered using the same progam. When I don't initalize the first node, the second is rendered correct and if I don't initalize the second node, the first node will render correct.


Is this a bug? Can you use more then one custom SCNProgram in a scene?

Two different nodes/materials with two different SCNProgram's (OpenGL es)
 
 
Q