How to get the depth of field effect using OpenGL? -


i wondering how implement "depth of field/circle of confusion" effect using opengl?

is there built-in method or library support it?

you not find "built in" opengl give looking for. have implement effect through shader, straightforward.

an article on how achieve effect freely available here:

nvidia article on depth of field techniques


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -