Sign in to follow this  
MaartenDeNef

Atmospheric scattering

Recommended Posts

MaartenDeNef    1368
Hi,

I'm currently stuck on merging my atmospheric scattering (precomputed eric brunetons implementation). With my planet.
They both work good seperated. But i don't have a clue how to merge them together.

I hope someone can help me out on this one.

Thanks in advance.

Share this post


Link to post
Share on other sites
Darg    213
I don't know how we can help without you explaining the problems you're having when trying to merge the two together? Perhaps have a look at other world renderers that have implemented atmospheric scattering ( there are plenty )

Before you post a question to the forums you really should have a look over it and make sure you've given enough information so that someone can answer it. Your question is so vague it's impossible.

Share this post


Link to post
Share on other sites
MaartenDeNef    1368
Hi,

Thank you for the reply. And i'm sorry for the vague question.

Well i'm trying to use Bruneton atmospheric scattering as a post process effect. This part works great thanks to the provide code with his paper. What i'm trying to do now is to draw my terrain with aerial perspective. And this seems to be harder then it looks. I read in the paper "we draw the terrain in the depth buffer only". So i made a depth map and passed this to the atmosphere shader (post process). I calculated the position from depth buffer and when i try to render i get this streched atmosphere.So i probably missed something. I hope i made the question less vague.Ty

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this