Walls shown above glowing elements

  • 12Me21
    23rd Oct 2015 Member 0 Permalink

    In fire/fancy display, you can see walls that are normally hidden behind glowing elements:

  • boxmein
    23rd Oct 2015 Former Staff 0 Permalink
    @12Me21 (View Post)
    EHOLE isn't really hidden, it's just really dim (like, in a scale of 100, it's only 1% white). And if you add 50 greens to 1 white, you'll get 51 greens and 1 red and 1 blue. 51 greens is brighter than 50 greens, just enough to show up.
  • 12Me21
    23rd Oct 2015 Member 0 Permalink

    It's not ehole though. It's FAN, and it only shows up on fire and fancy display. The green stuff is VIBR.

  • jacob2
    23rd Oct 2015 Member 0 Permalink
    I'm pretty sure boxmein is right and they are drawn in the correct order. If walls were really drawn after glow, it would be much more obvious. VIBR probably uses the additive glow, it only adds color to whatever was under the glow, not overwrites it. That would explain why you can still faintly see the wall.
  • 12Me21
    23rd Oct 2015 Member 0 Permalink

    The problem is just that it's weird to be able to see through a solid element.

  • Pilihp64
    24th Oct 2015 Developer 0 Permalink
    @12Me21 (View Post)
    This is very specific to VIBR, during the explode the pixels are programmed to turn invisible.
    It shows underneath the VIBR when the sine wave makes the fire brightness low enough to not overwhelm the wall color.
    Line 237 VIBR file: https://github.com/simtr/The-Powder-Toy/blob/master/src/simulation/elements/VIBR.cpp#L237
    Edited once by cracker64. Last: 23rd Oct 2015