shirak23
11-14-2006, 06:15 AM
I've been trying to do the effect where there are particles (dust motes) floating in the air and the light is causing them to shadow, y'know classic dust motes in daylight look. Anyway, read the other post on this, but I'm not getting where I need to be. I definately need interactive particles moving around (attached air field to camera to push them away), so just mapping noise to a light with fog won't work. Here's my two problems:
1) I've made a new particleCloud shader, with color, to the particles. When I render them out (multipoints) with the hardware rendere, they're just white. Nothing I do in the shading attribute seems to change ANYTHING.
When I render them using the hardware render buffer, they're green. I didn't shade them this way (pCloud shader is brownish, spotlight color is white). Very frustrating.
2) More importantly, no interacting with the light. Won't cast shadows, nada. Oh, they light up when I change the light intensity, but nothing else. I tried using light fog on my light, but nothing (don't even know if that'd work anyway).
Can anyone offer any tips? Seems like it should be an easy thing to do, but...
Would it be a good idea to instance little bits of geometry (maybe tiny spheres) to the points to get them to cast shadows or would that be to processor intensive? I only have 2 1/2 weeks to figure this out.
Thanks!
Oh, yeah, here's a pic of the hardware render buffer image...
1) I've made a new particleCloud shader, with color, to the particles. When I render them out (multipoints) with the hardware rendere, they're just white. Nothing I do in the shading attribute seems to change ANYTHING.
When I render them using the hardware render buffer, they're green. I didn't shade them this way (pCloud shader is brownish, spotlight color is white). Very frustrating.
2) More importantly, no interacting with the light. Won't cast shadows, nada. Oh, they light up when I change the light intensity, but nothing else. I tried using light fog on my light, but nothing (don't even know if that'd work anyway).
Can anyone offer any tips? Seems like it should be an easy thing to do, but...
Would it be a good idea to instance little bits of geometry (maybe tiny spheres) to the points to get them to cast shadows or would that be to processor intensive? I only have 2 1/2 weeks to figure this out.
Thanks!
Oh, yeah, here's a pic of the hardware render buffer image...
