gongminmin / KlayGE

KlayGE is a cross-platform open source game engine with plugin-based architecture.
http://www.klayge.org
GNU General Public License v2.0
2.09k stars 351 forks source link

Seperate shader objects for simplify ShaderObject #188

Closed gongminmin closed 5 years ago

gongminmin commented 5 years ago

Implements separate shader object, instead of a whole shader object. D3D always has that, OpenGL 4.1+ and OpenGLES 3.1+ has that.