PolyColorBlend Tutorial not working as described when using gl3

Sebastian Adams's icon

Hi, I've been working through the Jitter tutorials and got to Tutorial 33 (PolyColorBlend), and several parts of it don't work properly with GL3 (working when I reload with GL2).

The bits that don't work are the cull_face and possibly the blend_mode too. I think it's because in GL3 the cull_face either doesn't work with wireframe mode, or needs something else changed to get this to work the way the tutorial describes it.

Any thoughts on this?

Harald's icon

Hi Sebastian, unfortunately no solution here, just to say I experience the same issue:
With @cull_face (jit.gl.gridshape) under GL3 I see no difference between frontface and backface although trying to render them differently in @poly_mode.
Is there any workaround for this?

cull_face.maxpat
Max Patch

Harald's icon

cull_face now seems to offer a fourth value "3: 2Pass" which I couldn't find in the reference so far.
It only mentions
0: Off, 1: Back, 2: Front

Rob Ramirez's icon

thanks for the report. This may be a simple issue in our drawing logic, or it may be something more fundamental in the driver that will require modifications to our shader generator.

in either case it is now on our radar and we will investigate.

Harald's icon

Thanks for your quick reaction, Rob!