Jump to content

Projected textures


photo

Recommended Posts

Posted

Is it possible to project texture on a mesh / particles - the same thing that LightProj does, but with multiply operation instead of addition?

Posted

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 ß

Posted

I want to project texture on particle cloud. Texture contains black text on transparent background.

Posted

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

Posted

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:

  1. Pass a projection matrix parameter into the particles material via an array material parameter.
  2. Calculate new texture coordinates, fetch a texture and modulate the particles color in the shader.

×
×
  • Create New...