jmonkeyengine icon indicating copy to clipboard operation
jmonkeyengine copied to clipboard

Read/Draw buffers disabled for GLES 3 backend

Open riccardobl opened this issue 3 years ago • 0 comments

As seen here

https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-core/src/main/java/com/jme3/renderer/opengl/GLRenderer.java#L1991-L1993

The code seems to be disabled if the backend is GLES 3. A quick search in the documentation shows that glDrawBuffers is actually supported by GLES 3.

Since this is a pretty important function, i am opening this issue to ask if there is a specific reason for which it was disabled or if the feature can be reimplemented using only glDrawBuffers instead of glDrawBuffer (that seems to be unsupported).

Mentioning @joliver82 since afaik he wrote most of our GLES3 backend.

riccardobl avatar Mar 24 '22 18:03 riccardobl