To get autofocus to work call sc_DoFautofocus() after calling sc_setup() (dunno if that's the right name of the function im at the uni atm, have a look at the manual)

sc_DoFautofocus(depth, focusspeed, on) (again, dunno if this is correct, depth & focusspeed might be switched)

depth = maximal depth autofocus should react to (you can set this to 50000)
focusspeed = speed of the focus from sharp to blurred (set this to 500 to see if it works, set to a lower value to get smooth transitions)
on = set to 1 to activate autofocus, otherwise 0

hope this helps smile



ps: started on projective softshadows for omnilights. watch out for the weekend smile


edit:
Quote:
Next mission is to try it with the all in one shader...I assume I could put these lightmaps in skin 4?


exactly, put the shadowmap on entSkin4. Keep in mind that it will use the 2nd uv skin!

Last edited by BoH_Havoc; 11/25/08 13:09.

Shade-C EVO Lite-C Shader Framework