Particles with material support?

Materials, textures, lighting, postfx
5 posts Page 1 of 1
saindd
Posts: 220
Joined: Wed Apr 15, 2015 3:20 am
by saindd » Fri Nov 06, 2015 6:50 pm
I've noticed that in the editor, the particles only support simple textures. Apparently, there's no support for materials, so i can't use normal-mapped bullet-holes or other effects with different specularity/normals, etc. Not even animated particles.

Is there a way to circumvent this?
LukasPJ
Site Admin
Posts: 358
Joined: Tue Feb 03, 2015 7:25 pm
 
by LukasPJ » Sat Nov 07, 2015 9:55 am
I'd recommend you to write your own shaders instead of using the material system, as it would be too much work using materials in an efficient way. It's not just flip a switch (I tried once) also the material system is not geared for particles at the moment
saindd
Posts: 220
Joined: Wed Apr 15, 2015 3:20 am
by saindd » Sat Nov 07, 2015 3:39 pm
But that kinda defeats the purpose of using the engine per-se. The pros are the editors and the abstractions.

Why do you say using materials is not efficient?
Duion
Posts: 837
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Sun Nov 08, 2015 12:27 am
You can have normal mapped bullet holes, since they are decals and not particles.
LukasPJ
Site Admin
Posts: 358
Joined: Tue Feb 03, 2015 7:25 pm
 
by LukasPJ » Sun Nov 08, 2015 12:33 am
I'm not completely sure, but I believe materials did some unnecessary work for particles.
Also, particles have some features that materials don't currently have. Most important is the softness, so you'd have to implement that too on materials to avoid losing functionality.

Anyways, I'm not saying it's impossible to do in a proper and efficient way, just saying that it'll take a lot of work.
5 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 4 guests