gl.material changing lighting behaviour of gl.gridshape


    Nov 27 2019 | 4:01 pm
    Hi there, I want the lighting to appear on all sides of gridshapes when there is a gl.material applied. It seems that the plane, cone and circle do not reflect light on all sides when they have a gl.material attached. Can anyone tell me how to resolve this please?
    Thanks, Tim.

    • Dec 02 2019 | 4:25 pm
      2-sided lighting is not currently supported by jit.gl.material unfortunately. depending on what your setup is, you can workaround by duplicating the object you are drawing and reversing the normals. post a patch if you want more details.
    • Dec 02 2019 | 5:47 pm
      Hi Rob,
      Thanks for your response. Can you tell me what normals are and how to reverse them, please?
      Thanks, Tim.