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

Lightmap tutorial?

  • #10, by tristan-kang 11 years ago Zitieren
    This is the latest tried version of the image. It doesn't tint character black, but it does tint character purple (just like it's background image). And the light effects didn't work.
  • #11, by ke4 11 years ago Zitieren
    Yeah it doesn't have to be grey color, this looks fine, should work i suppose.

    This is mine which works fine.
  • #12, by afrlme 11 years ago Zitieren
    You need to think about where you place the various light tints in your light map. Remember to take in consideration that it is the characters position (based on the character animation center you specified for each of your characters animations) that determines the tint the character will be. You may need to offset your light tints to allow the character to tint correctly.

    In other words: think about which areas the character will / should be standing.
  • #13, by sebastian 11 years ago Zitieren
    are all animations (also animations from scene objects which don't have a center) affected by the lightmap?
  • #14, by afrlme 11 years ago Zitieren
    Light maps only affect the tint of characters. If you want one to affect the entire scene then I recommend adding them as images inside of scene objects, as that way you can apply a tint over things in / behind a specific z-index (object center) order instead. Getting it to look right though would be another thing mind.

    Alternatively you could use the Shader to directly apply lighting to your scenes which would affect things in a more dynamic way.