   [GLSL] Change a texture's opacity
  Hi,Is it possible in a glsl shader to change a texture's opacity ?Thanks.   
  Yes.Simply assign/modify whatever alpha value you want before you output it from the shader. And have blending enabled.(Not sure this is the correct syntax, I'm only used to OpenGLES GLSL)uniform sampler2D texture0;varying vec2 texcoord;void main(){   // Sample a texture   vec4 color = texture2D(texture0, texcoord); // Modify the alpha (opacity) channel    color.a = 0.5;  // Output the new color   gl_FragColor = color;};  The syntax looks correct, but how do I enable blending ?I'm going to try this first.   ;  Blending is enabled simply by calling: glEnable(GL_BLEND); before you draw any primitives.;  I am working with Ogre3D so it's a little diferent, but i found the way to do it, but it's not working...If you have any idea.   