Hi guys ! I'm not a technical guy ...
I take the
sobel edge detection from the forum of UDK . It's working quite good but, i've a problem with distant objects.
Look on picture:
Without skydome :
With Skydome :
There is a special parameter in the material effect ?
If someone want a screenshot of anything, tell me ...
Thank is advance
Replies
While you could disable the outlines past a given depth value, that would prevent near objects making outlines on the skydome.
If you make the skydome translucent and give it an alpha of 1.0f, it will appear solid but not write to the depth buffer, so the Sorbel will ignore it. But this has other problems (sorting and stuff) and is not an ideal solution.
Disclaimer: I don't know UDK.
The z-buffer is often nonlinear, but in deferred render pipelines the depth buffer is often linear (faster and better position reconstruction).
Sadly I think using a blend mode is the only way.
thank you very much !
@ Oniram : it's just a test with a skydome from UDK, not mine . I don't really know the "good" scale for a skydome