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

Characters completely black when using a lightmap.

  • #1, by dos4gw 10 years ago Zitieren
    As far as I can tell I'm using everything correctly. I'm just using black and white, but the characters are completely black every time. I even used a completely white lightmap to test and got the same result.

    I'm wondering if it's the screen dimensions that are affecting it. This room is basically 4x the screen resolution of the game; could that be the reason?
  • #2, by jmbm 10 years ago Zitieren
    Black is complete darkness. So don't use 100% black. Also don't use hard edges because that wont look good.
  • #3, by dos4gw 10 years ago Zitieren
    Suppose I didn't clearly state the problem, sorry. The characters are completely black no matter where they are in the room. It's as if I put in a lightmap that was completely black, only the one I put in is mostly white with dark shading at various points.
  • #4, by ke4 10 years ago Zitieren
    I think i had this problem once too, don't really remember where the issue was. Do you have an image with some color with gradient to alpha or you have a solid color as the basic background? I think you need that.
  • #5, by dos4gw 10 years ago Zitieren
    Alright, appeared to have solved it. I took the background and scaled it to 50%, then made a lightmap of the same size. Visionaire scales up lightmaps, so it works.

    This was an exceptionally large room. I'm wondering if this had anything to do with the problem. Anyway, thanks for the input guys.
  • #6, by Glenfx 10 years ago Zitieren
    Hello, the lightmap tutorial (part 6) in the old tutorials is still relevant.

    https://www2.visionaire2d.net/glenfx/

    You can make the lightmap 25% of the scene size without problems ( the smaller the better)