Advertisement
Zacam

ATI Shader Test

Jun 11th, 2014
315
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. " #ifdef FLAG_LIGHT\n"
  2. " gl_FragColor.a = fragmentColor.a;\n"
  3. " #else\n"
  4. " // ATI Wireframe fix *grumble*\n"
  5. " gl_FragColor.a = clamp((position.y-anim_timer) * 10000.0,0.0,1.0);\n"
  6. " #endif\n"
  7. " }\n"
  8.  
  9. Turn into:
  10. " //#ifdef FLAG_LIGHT\n"
  11. " gl_FragColor.a = fragmentColor.a;\n"
  12. " //#else\n"
  13. " // ATI Wireframe fix *grumble*\n"
  14. " //gl_FragColor.a = clamp((position.y-anim_timer) * 10000.0,0.0,1.0);\n"
  15. " //#endif\n"
  16. " }\n"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement