Hi,
I'm trying to adapt the Fredborg Depth of field effect:
http://www.blitzbasic.com/codearcs/codearcs.php?code=1030
to work with any camerazoom value, but I don't obtain
the desired results.
I'm trying to multiply the position of each layer with
(1.0/camerazoom), with x, with y, with z, but it doesn't
works!
Please, could someone help me?
What line of the function should I change in order to
make the effect valid for any camerazoom value??
Thanks in advance!
I'm trying to adapt the Fredborg Depth of field effect:
http://www.blitzbasic.com/codearcs/codearcs.php?code=1030
to work with any camerazoom value, but I don't obtain
the desired results.
I'm trying to multiply the position of each layer with
(1.0/camerazoom), with x, with y, with z, but it doesn't
works!
Please, could someone help me?
What line of the function should I change in order to
make the effect valid for any camerazoom value??
Thanks in advance!