Jump to content

Vignetting


Canardia
 Share

Recommended Posts

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.

wall.jpg

 

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.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

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.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

  • 2 weeks later...

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. :)

Pure3d Visualizations Germany - digital essences

AAA 3D Model Shop specialized on nature and environments

Link to comment
Share on other sites

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 ?

-= 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

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.

Ryzen 9 RX 6800M ■ 16GB XF8 Windows 11 ■
Ultra ■ LE 2.53DWS 5.6  Reaper ■ C/C++ C# ■ Fortran 2008 ■ Story ■
■ Homepage: https://canardia.com ■

Link to comment
Share on other sites

my question is simple, how to detect right hightlights ?

as all bokeh points are same size:

regular-bokeh.jpg

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..

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

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...