Menu
Login
Language
DE EN FR ES IT CZ
Back

Particles and WebP Format

  • #1, by redspark Sunday, 27. December 2015, 15:53 10 years ago Quote
    I'm working on a rain effect for my main menu scene. When I used the attached image in PNG format as a particle, it appears fine. However, when I convert it to WebP, the alpha channel doesn't work. The particle type is a Quad and Render Mode is Smooth.

    I'm using OSX 4.2.5 version of VS and the latest version and latest patch for OSX. Thanks.

    James

    Forum Fan

    122 Posts

  • #2, by SimonS Monday, 28. December 2015, 23:12 10 years ago Quote
    Are you sure you are converting the images right ? Are you using cwebp ?

    Thread Captain

    1621 Posts

  • #3, by redspark Tuesday, 29. December 2015, 00:18 10 years ago Quote
    I converted it the same as every other image. They all work fine except the particles. I use XnConvert with WebP format and Best quality setting.

    Forum Fan

    122 Posts

  • #4, by tristan-kang Tuesday, 29. December 2015, 12:01 10 years ago Quote
    I think you shouldn't use WebP format for particle. The engine seems to detect particle image in a different way.

    Great Poster

    267 Posts

  • #5, by afrlme Tuesday, 29. December 2015, 13:17 10 years ago Quote
    I doubt there would be much difference in saved file size between png & webp for such a small image anyway?

    Imperator

    7290 Posts

  • #6, by redspark Tuesday, 29. December 2015, 16:29 10 years ago Quote
    Yeah, there isn't much savings for file size between the two. Performance doesn't seem to be any difference so I'm not concerned but it is something to keep in mind as an exception to the rule for image formats. If the particle engine likes PNG better than WebP, then that is one exception to keep note of unless it is planned to change in the future.

    Forum Fan

    122 Posts