|
![](/i/fill.gif) |
> That looks good, i wonder if some reflection would be good, of course that
> would require some environment to reflect.
>
I'll make tests at home...
>
> I had a look at the shader code and although i do not yet completely
> understand how it works, the same should be possible with the slope
> pattern, although you then have to take the light positions into account.
>
I don't comment my tests in general...I know, it's not a good thing...
The advantage of the shader is that the lights positions are given (not
exactly but, the result is the same, you know where it comes from) and ease a
lot the work...this shader is simple (I think) because, there is no real
physic behind !
I just do a gradient with the 2 colors. the coef is given by the angle between
the light and the surface normal (Ln.Nn).
David
Post a reply to this message
|
![](/i/fill.gif) |