Blax Posted December 19, 2015 Share Posted December 19, 2015 Hi! I have small quest for bjs-jedi-knight's If we need get screen position of point in 3d we make something like this:gl_Position = worldViewProjection * vec4(vPosition, 1.0);but what we make do, if we need back operation (get 3d point), if we know screen coords and have 3d object geometry?In BABYLON here help Scene.pick() method, but how looks his analog in GLS? What algoritm?p.s. i can make Scene.pick and translate result in Shader, but it will not so fast, as computing in GLSL, i think.p.p.s. May the BJS-Force be with you Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.