GPUOpen-LibrariesAndSDKs / RadeonProRender-Baikal

MIT License
334 stars 78 forks source link

Is there one bug in GatherLightSamples #208

Open lishu1980 opened 5 years ago

lishu1980 commented 5 years ago

in cl kernel function GatherLightSamples float4 radiance = 0.f; it make radiance.w is 0. this result in highlighting of the final pixel increases with the number of samples

other codes to add output in cl. eg: ShadeBackgroundImage float4 v = make_float4(0.f, 0.f, 0.f, 1.f); ShadeBackgroundEnvMap float4 v = make_float4(0.f, 0.f, 0.f, 1.f);

lishu1980 commented 5 years ago

this result in radiance of the final pixel increases with the number of samples

lishu1980 commented 5 years ago

sorry , i found it in AdvanceIterationCount.