POV-Ray : Newsgroups : povray.unofficial.patches : Blurred reflections : Re: Blurred reflections Server Time
25 Apr 2024 05:07:13 EDT (-0400)
  Re: Blurred reflections  
From: Alain
Date: 10 Feb 2018 12:24:15
Message: <5a7f2abf@news.povray.org>
Le 18-02-10 à 02:59, Kenneth a écrit :
> Alain <kua### [at] videotronca> wrote:
> 
> 
>> Reflection may be used without a block which is the legacy syntax. In
>> that case, it will borrow the metallic of specular, but not the roughness.
> 
> I didn't know that reflection would 'borrow' the specular's metallic in such a
> case. Thanks.
> 
> 
> 
> 

It's a leftover/backware compatibility thing.
Before the reflection block was introduced, there was no way to know if 
any metallic modifier was intended for phong, specular or reflection. 
Also, the actual order was totally ignored.

Thus
metallic
phong 1
phong_size 150
reflection 0.8

phong 1
metallic
phong_size 150
reflection 0.8

phong 1
reflection 0.8
metallic
phong_size 150

phong_size 150
metallic
reflection 0.8
phong 1

and

phong 1
phong_size 150
reflection 0.8
metallic

would gives the same result.
This is what I mean by "borrow".


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.