Lorigosolo
02-25-2005, 09:10 PM
Hi all!!
Need some help guys, i was rendering some sprites for a 2D game using shadow map (black) and a spriteedger over a "floor" (floor color R:64 G:128 B:128). After some renders my "boss" told me that now we need the shadow to be R:255 G:0 B:255. Easy i just have to change the color of the shadow map on the "spotlight" that is casting it, piece of cake!! :rolleyes:
Offcourse that didnīt work :eek:
It seems that the shadow is blending with the "floor" color and giving me a weird color that i donīt want, i need it to be R:255 G:0 B:255. Any idea how can i achive that?? :confused:
Is there any chance that i could make the shadow loose its transparency?? Or make the floor unseen by the camera but still see the shadow :p ??
Thanks!!
Lorigosolo
Need some help guys, i was rendering some sprites for a 2D game using shadow map (black) and a spriteedger over a "floor" (floor color R:64 G:128 B:128). After some renders my "boss" told me that now we need the shadow to be R:255 G:0 B:255. Easy i just have to change the color of the shadow map on the "spotlight" that is casting it, piece of cake!! :rolleyes:
Offcourse that didnīt work :eek:
It seems that the shadow is blending with the "floor" color and giving me a weird color that i donīt want, i need it to be R:255 G:0 B:255. Any idea how can i achive that?? :confused:
Is there any chance that i could make the shadow loose its transparency?? Or make the floor unseen by the camera but still see the shadow :p ??
Thanks!!
Lorigosolo