Nice, softshadows on distant lights! Thanks Timo. 
Now that I got it to work on a small test scene I'm trying it on an interior
scene where light comes in from many sides.

Frank Bueters

> Ok, should work now: 
> http://koti.welho.com/tmikkola/materials/fakeShadows.zip
> 
> On 31/01/07, Timo Mikkolainen <[EMAIL PROTECTED]> wrote:
> > Looks like there's a small bug, the shader doesn't flip the normal 
> > towards the camera ray before it checks if it's facing the 
> light ray.
> > I'll fix it when I get home.
> >
> > On 31/01/07, Frank Bueters <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi Timo,
> > >
> > > Either I'm confused or there's more to it than just add 
> one shader 
> > > to the scene and the other to the light source. Can't get it to 
> > > produce (soft)shadows. I've attached a basic setup. Would 
> you mind 
> > > to have a quick glance at it and tell me what I do wrong?
> > >
> > > Regards,
> > >
> > >         Frank Bueters
> > >
> > >
> > > > There's two shaders in the project, add the other one 
> to the scene 
> > > > (or all parts you want to receive shadows) and the other one to 
> > > > the light you want to cast the shadows. You can also 
> turn shadows 
> > > > off in the light properties. I'll add a readme once I have the 
> > > > time.
> > > >
> > > > On 31/01/07, Frank Bueters <[EMAIL PROTECTED]> wrote:
> > > > > Hello real users,
> > > > >
> > > > > Does anyone know how to put Timo's fakeShadows to work? Or
> > > > is it being
> > > > > explained somewhere? Tried to add it to the light source,
> > > > to objects,
> > > > > to the root... nothing happens.
> > > > >
> > > > > Regards,
> > > > >
> > > > > Frank Bueters
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > >
> > >
> >

Reply via email to