I am looking at this tutorial http://www.clockworkcoders.com/oglsl/tutorial8.htm which has the following codes:
Code :
glActiveTextureARB(GL_TEXTURE0_ARB);
glBindTexture(GL_TEXTURE_2D, texture1);
glEnable(GL_TEXTURE_2D);
glTexEnvf (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_COMBINE_EXT);
glTexEnvf (GL_TEXTURE_ENV, GL_COMBINE_RGB_EXT, GL_REPLACE);
 
glActiveTextureARB(GL_TEXTURE1_ARB);
glBindTexture(GL_TEXTURE_2D, texture2); 
glEnable(GL_TEXTURE_2D);
glTexEnvf (GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_COMBINE_EXT);
glTexEnvf (GL_TEXTURE_ENV, GL_COMBINE_RGB_EXT, GL_INCR);
I could not find the equivalent of glTexEnvf() function on WebGL Specification https://cvs.khronos.org/svn/repos/re...ebGL-spec.html

I assume that they are omitted from WebGL. Correct?
If so, how do we do the equivalent features? Is it possible?

Thanks in advance for your help.