Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too much noise, what I am doing wrong? #3

Open
TekuSP opened this issue May 22, 2018 · 1 comment
Open

Too much noise, what I am doing wrong? #3

TekuSP opened this issue May 22, 2018 · 1 comment

Comments

@TekuSP
Copy link

TekuSP commented May 22, 2018

https://i.imgur.com/YBsuu9Y.jpg
And yes I understand so more NumSamples removes noise partially, but for cost of a lot power. But when I look at any game supporting raytracing or DX12 RayTracing examples or Nvidia RayTracing, they no or almost no noise. Or even image on this Github, that front one!
What I am doing wrong? Did I miss something?

@mellinoe
Copy link
Owner

The image from the README is just generated from 100 samples, so that's why it looks a lot better 😄

This is a really primitive ray tracer, and it does nothing to clean up the noisy image. The easiest ways to remove or mask noise would be:

  • Crank up the sample count significantly -- this will make it significantly slower
  • "Accumulate" color info into the output texture, rather than clearing it and re-generating it every frame. This will clear up some of the noisiness, but I think it reduces clarity a bit.
  • Apply some kind of post-processing filter to the image. I'm sure that the better examples you've seen are using some really advanced filtering techniques. There's probably some sort of simple filtering or blurring that could be applied to mask the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants