Imagination PowerVR SDK Blog

Deferred Shading on SGX


#1

Hi,

Is it possible to use MultipleRTs on SGX5xx? If so, what extension I should be looking for?
I’m trying to find the following functions but seem they didn’t defined anywhere
(using PowerVR SDK)
<pre =“code”>glGetIntergeri(GL_MAX_DRAW_BUFFERS, &maxbuffers);

GLenum buffers[] = { GL_COLOR_ATTACHMENT0_EXT, GL_COLOR_ATTACHMENT1_EXT };
glDrawBuffers(2, buffers);


Thanks in advance.
Aik.