Jump to content

  • Log In with Google      Sign In   
  • Create Account


Placing particle emitters on dynamically clipped geometry


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 SmellyIrishMan   Members   -  Reputation: 145

Like
0Likes
Like

Posted 04 July 2013 - 04:35 PM

Hey Gamedev,

 

I'd like to create a reveal effect that slowly reveals the model in a scene. At the moment I have a very simple pixel shader that will reveal the model over time with a quick sin wave at the edge of the reveal for effect. The result is something like this...

cCRXgla.png

Now, there is not a lot of impact with just this for a number of reasons. One thing that I would like to add is particle at the edge of the reveal. I'm trying to think of a number of ways to execute this but I could really do with some help since I'm sure that this is something that has been done a million times before. This is basically what I would be aiming for. Please excuse the extremely enviable msPaint skills

BviSYQ3.png

I'm developing this for use in Unity but I'm really new to it and don't really know exactly what's available to me. So if you have something that works specifically for Unity that is fine, but I'm really looking for just some general pointers on how to execute something like this.

Any advice, pointers, links, reference materials are all very much appreciated.
Thanks for taking the time to read my post.



Sponsor:

#2 C0lumbo   Crossbones+   -  Reputation: 1843

Like
1Likes
Like

Posted 05 July 2013 - 01:13 AM

Rather than emitting particles, might an easier solution be to have another dividing line in your pixel shader?

 

So everything below the first line renders the geometry solid, everything below the second line renders your sparkly reveal effect, and everything above the second line is clipped.

 

It might be tricky to make a nice reveal effect in this context, but I think it'll be a hell of a lot easier than generating actual particle geometry.



#3 Norman Barrows   Crossbones+   -  Reputation: 1688

Like
0Likes
Like

Posted 06 July 2013 - 12:44 AM

another possibility:

 

a simple particle system (say 20 animated 3d billboards) that you simply move up the model with your reveal. make it busy enough and it should look fine.

 

maybe use one for each leg, then switch to a single 50 particle system for the torso, etc.


Norm Barrows

Rockland Software Productions

"Building PC games since 1988"

 

Help me out!     Check out Caveman and tell me what you think!     Caveman v3.0 demo beta download page:

 

https://sites.google.com/site/rocklandsoftware/home/cmbeta1

 

 


#4 Krohm   Crossbones+   -  Reputation: 2755

Like
0Likes
Like

Posted 06 July 2013 - 02:02 AM

I'd second Columbo. With a clear dividing line and a pixel shader than already does the clipping, applying a "sparky" texture might be enough. In general, it does not look like this effect is going to take more than a small part of the screen so it needs to be fast. Particles don't have this property, at least for the blending involved.



#5 Norman Barrows   Crossbones+   -  Reputation: 1688

Like
0Likes
Like

Posted 06 July 2013 - 12:11 PM


Particles don't have this property, at least for the blending involved.

 

quite true. depending on the exact effect (a sparkling texture vs a cloud of sparks) a pixel shader will be faster. particles wouldn't really be required unless the "sparkling" was supposed to occur beyond the boundaries of the skinned mesh.


Norm Barrows

Rockland Software Productions

"Building PC games since 1988"

 

Help me out!     Check out Caveman and tell me what you think!     Caveman v3.0 demo beta download page:

 

https://sites.google.com/site/rocklandsoftware/home/cmbeta1

 

 





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS