LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

Fire Casting shadows?

Root / Programming Questions / [.]

Z_E_R_OCreated:
How would I cast a shadow with fire? Like theres a camp fire at night, I want to cast a shadow....

Autz would be better with this but i personally would make a near invisable sprite behind the fire and make it move with the fire flames to make this effect or something like that

Oh :) I meant for the players sprite, like when he comes into the light of the fire a shadow is casted beginnd him.

Alright well I'm not an expert on the matter but referring to Autz64 "Lazy Shadows" [N3A8EJQS] might help you with it, I think it just used some SIN and COS stuff which im still learning how to use but I'm using this as a basis for testing some shadows stuff in my game (and ive used similar stuff in the past) but hopefully you can use this and stuff, but i mean if you have a question ask Autz as he is really good with this stuff

Thank you :)