Jump to content

SolidParticleSystem and blinking particles


al404
 Share

Recommended Posts

I'm using a SolidParticleSystem where my particles are planes

Quote

var particle = BABYLON.MeshBuilder.CreatePlane("model", {size: 0.8}, scene);

on this plane i add the flare.png that has alpha instead of black

now what i would like to obtain is something like this effect

http://playground.babylonjs.com/#ZVNDN#3

not sure i could do it but in update loop seems that is possible to change color but not alpha

should i look into shaders?

Link to comment
Share on other sites

I was thinking to create a second cloud of particles using ParticleSystem to add over the first one, I found a way to position initial particles on the mesh but i can't find a way to generate new particles in same mesh position. It seem that just dies.

I also have a strange problem with the mesh that i'm loading, it probably is a problem on how the mesh is exported from blender

if i add the mesh to the scene it in in horizontal position, if i use it to generate the particle system is in vertical position

in solid particle system i can just rotate the mesh after i create it in ParticleSystem i can't find a way to do it

i attach the monkey head screen capture for a better example

here a PG

http://playground.babylonjs.com/#ZPIC4#0

Voila_Capture 2016-04-20_10-46-08_AM.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...