PDA

View Full Version : Blending model edges



Drake
04-15-2009, 07:13 PM
hello,

I am trying to make my scene look nicer. Currently the models look too sharp against the background and each other so I would like to blur their edges somehow.

The approach I thought of would be to use blending with:

glBlendFunc(GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR);

However this will blend the entire model with whatever is behind, so is there a way to restrict the blending to just the edges? Or is there a better approach to make the models look more natural in the scene?

Drake

arekkusu
04-15-2009, 07:39 PM
Use multisampling.