well you COULD use OpenCL to &quot;control every pixel&quot;.<p>Here&#x27;s an example of path tracing in &quot;realtime&quot; (ok, it&#x27;s  not quite there yet) on the GPU.<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=BpT6MkCeP7Y" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=BpT6MkCeP7Y</a><p>check out this blog too:
<a href="http:&#x2F;&#x2F;raytracey.blogspot.com.au&#x2F;" rel="nofollow">http:&#x2F;&#x2F;raytracey.blogspot.com.au&#x2F;</a>