hi
i am pretty new to 3DGS and even newer to shaders. i have two entities one needs to cast a shadow over the second. I have seen some examples of using the stencil_blur. I am not sure how to get this to work. I include mtlView.c and mtlFX.c, then set Shadow on in both entities set(my, SHADOW); and finally in main() I set
shadow_stencil = 1;
stencil_blur(1);
how ever i dont get the shadows to work.
i guess i am missing some step but i cannot find a complete example of how to use stencil_blur()
Could it be something to do with the skins being 24 bits?
thanks!
enrike
Last edited by enrike; 07/29/09 12:03.