View Full Version : Particle color from surface

06 June 2011, 09:49 PM
Hi guys. I'm trying to emit particles on a surface with Shape Facing. They all have a static material with an opacity map, so, basically, I make fluffy geometry (right now it looks like so ).
What I'm trying to do now is set the diffuse color on every particle based on the texture color of the emitter surface underneath (I'm actually trying to imitate brush strokes, to get a kind of impressionist painting-like look) or, somehow, blend the color and the material to keep the opacity map. I tried looking into this script as well as experimenting with Mapping Object, but so far these don't seem to help much, as they rely on having the same material on both the particles and the surface (not to mention the script operates on 3D particles, when mine are flat).
Is there a way to do this in PF Box #1?

06 June 2011, 01:34 PM
Well, I'll doublepost, but I managed on my own. I did not find a way to acquire the texel color, but I stumbled upon vertex color maps in Object Mapping and it seems to be just the thing I needed (actually even better, seeing as how it's easy to use the Vertex Color modifier).

For the curious, here's the effect so far:

from a scene looking like so:

It's quite oily, if I'd say so myself :arteest:

CGTalk Moderation
06 June 2011, 01:34 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.