|
|
Op 14/11/2019 om 03:11 schreef Alain Martel:
>> Op 12/11/2019 om 17:04 schreef Alain Martel:
>>>>
>>>
>>> It's similar to a gradient y, but with only a single ramp.
>>> function {max (min (y, 1), 0)}
>>>
>>> The max(y,0) clamp out everything under 0.
>>> The min(y,1) clamp out everything over 1.
>>> Leaving you with :
>>> -infinity..0 =0, [0..1] ramping from zero to one, than stay at one.
>>> It is extremely bright, ranging from White*2.35 up to White*13.5.
>>> It may be intended to simulate the glare from the Sun at the zenith.
>>>
>>
>> I assumed as much but personally I am very wary of rgb values higher
>> than 1, and these are really extreme. In such cases I much prefer to
>> use a finish {emission} setting instead.
>>
>
> You may try using srgb instead of rgb when declaring the colours.
I did initially but I was not satisfied with the results at all. Then I
started messing around. I may go back to srgb again...
--
Thomas
Post a reply to this message
|
|