0
我正在使用帶有2個顏色附件的幀緩衝區。我想在一次渲染調用中渲染兩種顏色附件。OpenGL ES多色緩衝區
layout (location = 0) out vec3 _color;
layout (location = 1) out vec3 _depth;
_color = texture(_colorImage, coord).xyz;
_depth = texture(_depthImage, coord).xyz;
我testet我的電腦的應用程序,但現在我想用在移動應用程序一樣,但我怎麼能在一個以上的附色渲染的OpenGL ES?
首選版本是OpenGL 2.0。但我不需要。
好的,謝謝。比我必須使用OpenGL ES 3.0。 – Dominick