View Full Version : What is the efficient way to map four images to one plane?

05-31-2017, 07:12 PM
version: opengl es 3.0

I have four cameras, and need to map the four images from cameras with textures to the area like this 2378,so what is the most efficient way to this purpose?

06-01-2017, 04:40 AM
Render 8 triangles (2 for each trapezoid).

But you don't state how they are to be mapped. With the fixed-function pipeline, you're limited to a projective mapping. If you want a bilinear mapping, you'll need to use a fragment shader.

06-01-2017, 11:57 PM
This looks a lot like this (https://www.opengl.org/discussion_boards/showthread.php/199630-How-to-map-4-images-to-screen?p=1287174#post1287174).