Feral Heart

Help & Guidance => Game Help => Topic started by: Kuri on December 22, 2016, 08:23:48 pm

Title: How do you make particles not-transparent and black appear?
Post by: Kuri on December 22, 2016, 08:23:48 pm
Hello i am new to this and have no idea what i'm doing.
So..  i made particles with  like "scene_blend alpha_blend" or whatever it was, i can't see them.
Swapping to "scene_blend add"  makes them appear but semi transparent with washed out colours and the black markings are missing.
Spent some time on OGRE website but i can't figure it out.

(http://i.imgur.com/4n6narQ.png)

What should i be doing?

Edit: example Example video link (https://www.youtube.com/watch?v=NE3rmX8TLXY)
Title: Re: How do you make particles not-transparent and black appear?
Post by: Bloo. on December 23, 2016, 01:06:28 am
Did you make the particles on a transparent background or a black background?
Title: Re: How do you make particles not-transparent and black appear?
Post by: VortexAlive on December 23, 2016, 06:17:04 am
Took a quick look at fh's particles and something I noticed is that most of the particle textures use a black background instead of transparency, except for smoke which is used by the fire particle and has this:

Code: [Select]
material SmokeMaterial
{
   technique
   {
      pass
      {
         lighting off                  <--- Black background particles also use this.
         scene_blend alpha_blend       <--- Black background particles also use this.
         depth_write off               <--- Black background particles also use this.
   diffuse vertexcolour <--- This is different.

         texture_unit
         {
            texture smoke.png
            tex_address_mode clamp <--- This is different
         }
      }
   }
}

I don't know if this will help but it's something.
I haven't tried making particles myself yet so this is out of my league. x.x
Title: Re: How do you make particles not-transparent and black appear?
Post by: Kuri on December 23, 2016, 07:29:35 am
Did you make the particles on a transparent background or a black background?
Transparent.
Title: Re: How do you make particles not-transparent and black appear?
Post by: Kuri on December 23, 2016, 07:30:13 am
Took a quick look at fh's particles and something I noticed is that most of the particle textures use a black background instead of transparency, except for smoke which is used by the fire particle and has this:

Code: [Select]
material SmokeMaterial
{
   technique
   {
      pass
      {
         lighting off                  <--- Black background particles also use this.
         scene_blend alpha_blend       <--- Black background particles also use this.
         depth_write off               <--- Black background particles also use this.
   diffuse vertexcolour <--- This is different.

         texture_unit
         {
            texture smoke.png
            tex_address_mode clamp <--- This is different
         }
      }
   }
}

I don't know if this will help but it's something.
I haven't tried making particles myself yet so this is out of my league. x.x
This could help!  Cheers.
Title: Re: How do you make particles not-transparent and black appear?
Post by: Enoki on December 23, 2016, 08:12:51 am
Did you make the particles on a transparent background or a black background?
Transparent.

Ah, then that's y'er problem I believe. I think Bloo was going down the right track. Try giving y'er particle a pure black background and use the default particle coding to test it. Let us know how it works.
Title: Re: How do you make particles not-transparent and black appear?
Post by: Kuri on January 01, 2017, 07:27:51 pm
After testing this several times in various combinations (so many times i have forgotten, but may have missed a combination) they are either invisible as an alpha blend or ghostly as a scene blend.