outlineFrag.js 320 B

1234567891011121314151617181920
  1. export default
  2. /* glsl */
  3. `#version 100
  4. precision highp float;
  5. precision highp int;
  6. uniform float u_gameTime;
  7. uniform highp mat4 u_world;
  8. uniform highp mat4 u_view;
  9. uniform highp mat4 u_projection;
  10. uniform highp mat4 u_viewInverse;
  11. uniform vec4 u_outlineColor;
  12. void main()
  13. {
  14. gl_FragData[0] = u_outlineColor;
  15. }
  16. `;