|
|
"nemesis" <nam### [at] gmailcom> wrote:
> "Samuel B." <stb### [at] hotmailcom> wrote:
> > "stb" <nomail@nomail> wrote:
> > > A rock surface.
> > >
> > > ~
> >
> > Sorry for the extra post. I was trying to figure out why I couldn't post
> > anything :P
> >
> > Sam
>
> Sam Benge, long time no see. still as amazing as usual...
>
> I think you povray folks would like something like this:
>
> https://twitter.com/zozuar/status/1461524656532471811
Hey, nemesis.
That is indeed a neat scene, and the code seems very short. I actually first saw
it the other day here: https://glslsandbox.com/e#77142.0 The ambient occlusion
looks pretty good, and is fast. I haven't looked at the code, but I suspect the
author used a trick involving the exploitation of signed distance functions: for
every step of the camera ray, you add to a variable and use that to alter the
color of any hit surface. And the closer the ray is to a surface, the more you
add to the variable. The downside is that everything looks as if the camera
itself is a source of light.
Sam
Post a reply to this message
|
|