|
![](/i/fill.gif) |
> Hy all!
>
> My problem is, this is a material:
> #include "glass_old.inc"
> #declare esemenyhor =
> material // esemenyhor
> {
> texture{ T_Green_Glass
> normal{ripples 0.3
> //bumps 0.8
> turbulence 0.2+k
> //bozo 1.5
> scale 0.15+k*0.5
> translate< 1,0,2>
> }
> finish{ambient 0.45
> diffuse 0.55
> reflection 80}
> }// end of texture
> //interior{I_Glass}
> }
> This material reflects a model, but in white color. What is the mistake?
>
>
reflection 80!
That means that whatever is reflected is 80 times brighter than it should.
The value for reflection should always be in the 0~1 range to get
realistic results.
For a glass object, something like:
reflection{ 0.1 1 fresnel}
will give you the most realistic results, with conserve_energy in the
finish.
Uncomment the interior statement for the fresnel to work.
Alain
Post a reply to this message
|
![](/i/fill.gif) |