About Store Forum Documentation Contact



Post Reply 
Custom Particle Shaders
Author Message
fatcoder Offline
Member

Post: #1
Custom Particle Shaders
I can't see anywhere in the headers that allow this, or maybe I'm just missing it. Is it possible to apply a custom shader to particle effects, or even RawParticles? It doesn't look like, but thought I'd ask.

If not, then I guess the only option is to write my own particle system from scratch?
04-08-2013 05:42 AM
Find all posts by this user Quote this message in a reply
Ozmodian Offline
Member

Post: #2
RE: Custom Particle Shaders
Hi fatcoder,

If you don't know the answer to this I don't know who will. I always considered you the resident particle expert because you always seem to be the one answering when people have particle questions. Sorry that I can't help you, have not played with particles yet :(
04-08-2013 05:53 AM
Find all posts by this user Quote this message in a reply
ineffable Offline
Member

Post: #3
RE: Custom Particle Shaders
Look in the store for the shader headers.
04-08-2013 07:00 AM
Find all posts by this user Quote this message in a reply
fatcoder Offline
Member

Post: #4
RE: Custom Particle Shaders
@Ozmodian

Hahaha... Thanks for the compliment. smile
I'm pretty confident that it is not possible and if anyone else was posting this question I would probably reply and tell them as such. I just want to confirm my assumption however with Esenthel himself.

@ineffable

Thanks buddy, but I actually already have them.
04-08-2013 09:36 AM
Find all posts by this user Quote this message in a reply
Gian-Reto Offline
Member

Post: #5
RE: Custom Particle Shaders
would be cool to get a definite answer to this. I also have to somehow get particles to react to light and cast shadows.

Using a custom shader sounds like the best solution for this, doing it afterwards in gamelogic (with 'faked' lighting and shadows) most probably is going to be a lot heavier performance wise (educated guess).
04-09-2013 07:48 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #6
RE: Custom Particle Shaders
Hello,

currently there's no option to change the shader of particles.
04-11-2013 08:21 PM
Find all posts by this user Quote this message in a reply
fatcoder Offline
Member

Post: #7
RE: Custom Particle Shaders
Thanks for the official answer. Unfortunately, it is what I expected.

Time to start building my own particle system... :-(

One more question related to this. There doesn't appear to be anyway to fill a VtxBuf or an IndBuf? Are there some functions somewhere I'm missing for filling these, or should I be using VI instead?
04-12-2013 12:55 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #8
RE: Custom Particle Shaders
Please use VI, it handles all required things for you.
04-17-2013 12:59 PM
Find all posts by this user Quote this message in a reply
Post Reply