problem drawing background texture to jit.world


    Jan 19 2019 | 10:19 pm
    Trying to add a background texture to jit.world where I am rendering multiple instances of the same gridshape. Texture renders over the shapes; draw message behaviour not consistent. See attached. Giving me a headache this one; any help appreciated!

    • Jan 19 2019 | 11:26 pm
      Might rework my patch to use jit.gl.multiple. Testing someting now...
    • Jan 19 2019 | 11:56 pm
      So jit.gl.multiple solves this problem, except for one thing: I want to set different shapes within the multiple, and this attribute does not seem to be allowed.
    • Jan 22 2019 | 4:54 pm
      use a jit.gl.multiple for each shape you want
    • Jan 22 2019 | 10:36 pm
      Thanks-- that makes sense and would work for my purposes. My prototype is due at the end of the month though and I don't have time to re-architect for then. I'll just add it to my backlog :D
    • Jan 22 2019 | 10:38 pm
      Question, Rob -- is there a big performance boost over using jit.gl.multiple vs. iterating manually? For say, less than 100 shapes.