Vote count: 0
I am using a frame buffer, with 2 color attachments. I want to render, in one render call, into both color attachments.
layout (location = 0) out vec3 _color;
layout (location = 1) out vec3 _depth;
_color = texture(_colorImage, coord).xyz;
_depth = texture(_depthImage, coord).xyz;
I testet my application of the computer, but now i want to use the same on a mobile application, but how can I render in more than one color attachment in OpenGL ES ?
The preferred version would be OpenGL 2.0. But I don't need to.
asked 40 secs ago
OpenGL ES multiple color buffer
Aucun commentaire:
Enregistrer un commentaire