Canardia Posted March 28, 2010 Share Posted March 28, 2010 Vignetting makes the corners and edges of the screen darker. I think it's basically a circle shape, maybe oval on a widescreen monitor. I think this could be implemented pretty easily as a post-processing effect. It adds a remarkable visual realism to the game, especially when combined with DoF and Bloom. Maybe it could be used also as a per-face shader for faces which face to the inside of a mesh, so it would add SSAO to corridors and rooms. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Josh Posted March 28, 2010 Share Posted March 28, 2010 You could just draw an image of the darkening effect on the screen, with the shade blend enabled. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Canardia Posted March 28, 2010 Author Share Posted March 28, 2010 Then I need to calculate the image first, since it must be according to the screen size. Maybe I could just draw lots of different sized circles with OpenGL. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Josh Posted April 8, 2010 Share Posted April 8, 2010 It's a blurry image, so I think you can use the same texture and just stretch it to the screen. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Michael Betke Posted April 8, 2010 Share Posted April 8, 2010 You guys will mabe find this thread over at crymod interesting: http://crymod.com/thread.php?threadid=59961 Bokeh and vignetting are the best DoF effect you can have. The quality is astonishing. Having this kind is top for every kind of artistic presentation. The person who writes me such a post-effect will get a Oscar. Quote Pure3d Visualizations Germany - digital essences AAA 3D Model Shop specialized on nature and environments Link to comment Share on other sites More sharing options...
wh1sp3r Posted April 8, 2010 Share Posted April 8, 2010 i have Vignetting shader done, it's really easy but i have problem with Bookeh effect, because i don't know, how to detect hightlights when skybox is on scene it has usually same colour as hightlights of other objects in scene but there are no bookeh effect on the sky so .. my question is simple, how to detect right hightlights ? Quote -= Phenom II X4 965 3.4Ghz - ATI HD5870 - 6 GB DDR3 RAM - Windows 8 Pro 64x=- Website: http://www.flamewarestudios.com Link to comment Share on other sites More sharing options...
Canardia Posted April 8, 2010 Author Share Posted April 8, 2010 You don't need to care if it's sky or not, it's the artist's fault if he makes static skies with too bright colors. A good skybox texture has only distant clouds and no sun highlights in the clouds, since the sun must move in the game. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
omid3098 Posted April 9, 2010 Share Posted April 9, 2010 my question is simple, how to detect right hightlights ? as all bokeh points are same size: maybe you can define it for all highligts smaller than "n" pixles.. and for example if n=10: highlights with 10 pixel will draw bokeh shape in pure white, highlights with 1 pixel will be very fade.. and highlights with more than 10 pixels (like sky) can be just burred.. PS. or you can use only specular highlights.. Quote Omid Saadat OD Arts Blog AMD Phenom II X4 940 - Geforce 8800GTS - 4GB RAM - XP x86 AMD 6000+ - Geforce 9800 GT - 2GB RAM - XP x86 (Home pc) Intel Core i7 - Geforce 310M - 4GB Ram - Win7 x64 (Laptop) Link to comment Share on other sites More sharing options...
wh1sp3r Posted April 9, 2010 Share Posted April 9, 2010 ok, i converted RGB to HSL, and where L is bigger then something .. there is a place for this effect. i will use a gaussian blur I am curious, how will it look like Quote -= Phenom II X4 965 3.4Ghz - ATI HD5870 - 6 GB DDR3 RAM - Windows 8 Pro 64x=- Website: http://www.flamewarestudios.com Link to comment Share on other sites More sharing options...
Recommended Posts
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.