grzegorz.glosny Posted November 28, 2012 Share Posted November 28, 2012 Is it possible to project texture on a mesh / particles - the same thing that LightProj does, but with multiply operation instead of addition? Link to comment
ulf.schroeter Posted November 28, 2012 Share Posted November 28, 2012 At least for meshes you could try projected decals with material settings for blending. I would doubt that there is a way for particles. What effect do you want to achieve ß Link to comment
grzegorz.glosny Posted November 28, 2012 Author Share Posted November 28, 2012 I want to project texture on particle cloud. Texture contains black text on transparent background. Link to comment
ulf.schroeter Posted November 28, 2012 Share Posted November 28, 2012 Don't think this will be possible with standard features. One approach might be to define custom particles material with specialized shader with such kind of special-case texture projection Link to comment
manguste Posted November 29, 2012 Share Posted November 29, 2012 Grzegorz, it's possible but you'll need to modify an ambient shader for particles (it has to accept an additional texture for modulation). The idea to implement this is as follows: Pass a projection matrix parameter into the particles material via an array material parameter. Calculate new texture coordinates, fetch a texture and modulate the particles color in the shader. Link to comment
Recommended Posts