You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
384 B

  1. // some other code here
  2. int test = 0;
  3. {$CLASS SimpleClass}
  4. {$UNIFORM 'sampler2D' 'uTexture0'}
  5. {$UNIFORM 'sampler2D' 'uTexture1'}
  6. {$UNIFORM 'vec4' 'uColor'}
  7. {$MAIN}
  8. gl_FragColor =
  9. texture2D(uTexture0, texCoord) *
  10. texture2D(uTexture1, texCoord) *
  11. uColor;
  12. {$END}
  13. {$END}
  14. // and some more code here
  15. int fuu = 1;