assurance-tunnel
assurance-tunnel
assurance-tunnel
assurance-tunnel

GLSL shaderactor issue



  • ...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?

    764a8f-screen-shot-2016-08-01-at-23.37.34.png


  • 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 :-)