Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • $\begingroup$ Ok I think i get what you are telling me. So basically the color obtained on any pass can be greater than 1. And this extra information is lost when i clamp. I don't think it'd make such a great deal as the main problem is still averagin with samples giving 0 color. But anyway, how are you supposed to handle that in a progressive PT? $\endgroup$ Commented Jan 11, 2019 at 20:14
  • $\begingroup$ In a progressive path tracer you'd still need to store the total value and number of samples so far per pixel, otherwise there is no way to calculate the average when you take new samples. You'd only clamp it for display purposes $\endgroup$ Commented Jan 13, 2019 at 9:47
  • $\begingroup$ I'll try storing the total color in the w coordinate since I'm using a float4 and pass a single variable for number of iterations to the kernel. Will post resutls shortly. $\endgroup$ Commented Jan 13, 2019 at 10:05
  • $\begingroup$ Ok i totally forgot it's three channels worth of information :s How the heck am I suppose to store 3 channel worth information. That's basically an extra image passed to the kernel just for storing un clamped values? $\endgroup$ Commented Jan 13, 2019 at 10:13
  • $\begingroup$ Many thanks for pointing it our bro. I was at it for days. $\endgroup$ Commented Jan 13, 2019 at 13:58