   discard in GLSL
  hi,  whats placed in the texture texel when discard; is called for any fragment in the fragment shader?I want to detect fragments that were discarded.regards   
  think you need to describe your problem more precisely...   ;  If you are rendering to a texture bound to a framebuffer object and you do a discard I'm quite sure it doesn't write anything for this particular pixel but leave the value in texture memory the way it was.   ;thanks Trenki :)regards   