- Home /
Object is in the shadow ?
hi friends. is there any idea to identify when an object goes in shadows? or object is already in shadow or not?
thanks.
Interesting question, especially when you would like to consider light cookies, too.
Answer by liszto · Nov 11, 2012 at 12:44 AM
You can shot a ray from your light to your object and see if something is hit before touch you object so maybe it's in shadow.
I don't really have solution for you cause it's really hard to know that I think.
Answer by MojtabaM · Nov 11, 2012 at 02:56 PM
i think i should use shaders . i should enter shadow processing and know how shadow afects an object!
i don't know , as you say it's hard .
I don't think to the shader. i'm not a pro on this part ^^. So if it's possible and you find a solution with that. Post it I'm interested :)