0

Canvas 2D provides an option of overlapping images in different ways with the globalcompositeoperation property as shown here http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_canvas_globalcompop

Is there an option similar to this in webgl when rendering images using the texImage2D function ?

1 Answers1

1

Yes its called blendFunc and blendEquation. Check this out to learn more.

LJᛃ
  • 7,655
  • 2
  • 24
  • 35