add glsl changes
Merge pull request #5010 from gero3/glslBuilder

add glsl changes