• ...i followed the the little example in the glsl tuorial - but it is not workig for me i have got this error message:

    FRAG ERROR: 0:31: Function 'main' redefines an existing function

    anybody an idea what i did wrong?


  • Tech Staff

    This code will not run.

    It defines the 'main' function twice.
    see: void main (void)
    If you cut and paste this code, you should ensure that you have deleted the default code before pasting the new code.

  • thanx DusX! - i will try - btw great feature this glsl :-)