Bug #2111

Raindrops in front of fire look wrong

Added by Thomas Staudinger about 2 years ago. Updated over 1 year ago.

Target version:
Start date:
% Done:


Operating system:


If you look at a large fire while it is raining (e.g. the fire on the Seyda Neen lighthouse) you can see a weird transparency effect around raindrops, that allows you to see through the fire. Watch this video to see what I mean:

OpenMW version: Latest 32bit nightly by Ananace (e82e83)

Happens with both OpenGL and DirectX

Related issues

Related to OpenMW - Bug #2632: [OSG] Rain not visible Closed 06/08/2015


#1 Updated by Amenophis . about 2 years ago

I saw the same with some Westly's hairs.

#2 Updated by Thomas Staudinger about 2 years ago

Update: Also happens with the "Shield" magic effect

#3 Updated by Jannik Heller about 2 years ago

The transparency sorting done by Ogre AFAIK uses the scene node position (so basically the root node of each NIF file). This is pretty inaccurate, sorting by the center of the bounding box might give better results, which we could also fix by attaching each mesh in a NIF to its own scene node, located in the center of its bounding box. Still, that would be a lot of effort and possible reduced performance for little gain.

For ParticleSystems I believe it uses the node that we are attaching the particle system to for sorting, so for NIFs the particle bone. The position of the particle bone is not necessarily the position of the emitted particles (that's controlled by the emitter bone). Haven't looked at the fireplace mesh to see whether that's actually causing the issue here.

#4 Updated by Jannik Heller over 1 year ago

  • Related to Bug #2632: [OSG] Rain not visible added

#5 Updated by Jannik Heller over 1 year ago

Adding #2632 to related so that I don't forget to re-check this when rain is implemented in the OSG branch.

#6 Updated by Thomas Staudinger over 1 year ago

Ha, that's exactly the bug I wanted to check when I noticed the missing rain ;)

#7 Updated by Jannik Heller over 1 year ago

  • Status changed from New to Resolved
  • Target version set to 30
  • % Done changed from 0 to 100

All fixed.

#8 Updated by Jannik Heller over 1 year ago

  • Status changed from Resolved to Closed

#9 Updated by Jannik Heller over 1 year ago

  • Target version changed from 30 to openmw-0.37

Also available in: Atom PDF