[fixed] Request for a shorthand addHighLevelShader for GL
Posted: Mon Dec 12, 2011 2:22 pm
GLSL functions are always named "main", and have no need for the DX version param. This currently means having two unneeded parameters in the addHighLevelShader call per shader type (vert, frag, geom - up to 6 unnecessary params).
It would be more elegant not to require those params - to have two (one for vert+frag, one for v+f+g) shorthand function wrappers in Irrlicht.
This is somewhat easier to work around client-side than the float* int* cast, but still this would be an improvement in the API
It would be more elegant not to require those params - to have two (one for vert+frag, one for v+f+g) shorthand function wrappers in Irrlicht.
This is somewhat easier to work around client-side than the float* int* cast, but still this would be an improvement in the API