GLGE has collision detection based on shaders. See this demo . (WASD, spacebar and mouse to move. Pay attention to how you encounter walls, etc.)
If you look at the source code, collision detection is handled by code
var ray=gameScene.ray(origin,[0,0,1]);
glge.js, , GLGE.RENDER_PICK (, , pkfragStr).