Author Topic: How do you make particles not-transparent and black appear?  (Read 2833 times)

Offline Kuri

  • Immortal Legend
  • *****
  • Posts: 8,168
  • Country: nz
  • Floof-O-Meter: 136
  • Foreboding evil harmless kitten.
    • dumbstuff4friends
    • channel/UCo42jgbLvEzkofpOin0_a4A
    • View Profile
How do you make particles not-transparent and black appear?
« 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.


What should i be doing?

Edit: example Example video link
« Last Edit: December 22, 2016, 08:40:59 pm by Kuri »
The Japanese concept of wabisabi:
The closest concept in english would be 'rustic'
They might have an old thing, one example is a favourite bowl or dish, it's broken, pieces are missing, why fix it?  With gold and pieces from other dishes?
"Because it was my favourite & I like it"

Offline Bloo.

  • Space-Child ✌
  • Elder Grey Pelt
  • ****
  • Posts: 2,658
  • Country: us
  • Floof-O-Meter: 192
  • nyoom
    • Bloopaloozer
    • Bloopalooza FH
    • aLittleProzium
    • Bloopalooza
    • View Profile
    • DeviantArt
Re: How do you make particles not-transparent and black appear?
« Reply #1 on: December 23, 2016, 01:06:28 am »
Did you make the particles on a transparent background or a black background?


You are amazing <3

Offline VortexAlive

  • Eevee Knight
  • Honored Hero
  • *****
  • Posts: 5,080
  • Country: us
  • Floof-O-Meter: 180
  • A wild floof has appeared!
    • VortexAlive
    • VortexAlive
    • VortexAlive
    • View Profile
    • VortexAlive is Rawrsome
Re: How do you make particles not-transparent and black appear?
« Reply #2 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
For the sake of my own health and interests, I've left FH and I won't be looking back.

Offline Kuri

  • Immortal Legend
  • *****
  • Posts: 8,168
  • Country: nz
  • Floof-O-Meter: 136
  • Foreboding evil harmless kitten.
    • dumbstuff4friends
    • channel/UCo42jgbLvEzkofpOin0_a4A
    • View Profile
Re: How do you make particles not-transparent and black appear?
« Reply #3 on: December 23, 2016, 07:29:35 am »
Did you make the particles on a transparent background or a black background?
Transparent.
The Japanese concept of wabisabi:
The closest concept in english would be 'rustic'
They might have an old thing, one example is a favourite bowl or dish, it's broken, pieces are missing, why fix it?  With gold and pieces from other dishes?
"Because it was my favourite & I like it"

Offline Kuri

  • Immortal Legend
  • *****
  • Posts: 8,168
  • Country: nz
  • Floof-O-Meter: 136
  • Foreboding evil harmless kitten.
    • dumbstuff4friends
    • channel/UCo42jgbLvEzkofpOin0_a4A
    • View Profile
Re: How do you make particles not-transparent and black appear?
« Reply #4 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.
The Japanese concept of wabisabi:
The closest concept in english would be 'rustic'
They might have an old thing, one example is a favourite bowl or dish, it's broken, pieces are missing, why fix it?  With gold and pieces from other dishes?
"Because it was my favourite & I like it"

Offline Enoki

  • Herba Chronographus
  • Elder Grey Pelt
  • ****
  • Posts: 2,698
  • Country: us
  • Floof-O-Meter: 121
  • Who lives in a portabella under a tree?
    • FantasyFungus
    • EnokiTheDryphon
    • Enoki_G
    • View Profile
    • The Realms of Yugure
Re: How do you make particles not-transparent and black appear?
« Reply #5 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.

Tmw you planned a ten minute nap but instead took a whole year.
☙Icon by dA JRProducts; Sig by PocketMutt❧

Offline Kuri

  • Immortal Legend
  • *****
  • Posts: 8,168
  • Country: nz
  • Floof-O-Meter: 136
  • Foreboding evil harmless kitten.
    • dumbstuff4friends
    • channel/UCo42jgbLvEzkofpOin0_a4A
    • View Profile
Re: How do you make particles not-transparent and black appear?
« Reply #6 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.
The Japanese concept of wabisabi:
The closest concept in english would be 'rustic'
They might have an old thing, one example is a favourite bowl or dish, it's broken, pieces are missing, why fix it?  With gold and pieces from other dishes?
"Because it was my favourite & I like it"