Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Particles and WebP Format

  • #1, by redspark 10 years ago Zitieren
    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
  • #2, by SimonS 10 years ago Zitieren
    Are you sure you are converting the images right ? Are you using cwebp ?
  • #3, by redspark 10 years ago Zitieren
    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.
  • #4, by tristan-kang 10 years ago Zitieren
    I think you shouldn't use WebP format for particle. The engine seems to detect particle image in a different way.
  • #5, by afrlme 10 years ago Zitieren
    I doubt there would be much difference in saved file size between png & webp for such a small image anyway?
  • #6, by redspark 10 years ago Zitieren
    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.