[SOLVED] Lightmap from VS 4.2.5 to VS 5

  • #10, by juansirlinkWednesday, 07. June 2017, 23:46 3 years ago
    Now, I deleted those transparencies and all work fine! I think the maplight must not have transparencies...
    Hm, but in 4.2.5 it is possible to use f.e. 50% or 80% transparent light maps. I often have smooth borders (what means transparency is going from 100 to 0%).
    So thats new in r5? Only sharp shadow borders?

    I'm not sure but in VS 4.2.5 my transparent lightmap works fine and in VS 5 it isn't work properly...

    Newbie

    46 Posts


  • #11, by MachtnixThursday, 08. June 2017, 00:21 3 years ago
    I'm not sure but in VS 4.2.5 my transparent lightmap works fine and in VS 5 it isn't work properly...
    Thats what I mean and what I'm afraid of. My next project needs a lot of half transparency... I tried this with transparent overlay pngs now, but in r5 I think it's not the same effect...

    Thread Captain

    1088 Posts

  • #12, by SimonSThursday, 08. June 2017, 10:06 3 years ago
    Vis 5 uses a premultiplied alpha system, so the pixels get multiplied with the alpha making them darker. There is absolutely no sense in using a transparent lightmap, the transparency gets ignored. You only now saw this, because the system changed how it processes alpha.

    Thread Captain

    1383 Posts

  • #13, by MachtnixThursday, 08. June 2017, 13:25 3 years ago
    A lightmap only simulates darker or brighter areas. So it makes sense to use transparency if you don't want to have only black parts on the scene. Or I don't understand it? What can I use instead to create dusty areas or twilight corners?

    Thread Captain

    1088 Posts

  • #14, by sebastianThursday, 08. June 2017, 13:37 3 years ago
    Lightmaps were always intended to be a non-transparent image with light and dark areas. 

    see here for more info:
    ( or you can watch thisgerman video i made a week ago discribing exactly how it works:
    )


    because the color gets multiplied, you need to use white for "no color" and complete black for "black". 
    And all colors between ...

    Thread Captain

    2340 Posts

  • #15, by MachtnixThursday, 08. June 2017, 14:02 3 years ago
    Ok, my understanding fault. I misinterpret a 50% grey as 50% transparent. But it's a solid grey. Smoothness is therefore possible to make a "Verlauf" (I don't know an English word). That all comes from working with Photoshop grey masks and alpha-channels. smile

    Thread Captain

    1088 Posts

  • #16, by EinzelkämpferThursday, 08. June 2017, 14:28 3 years ago
    Just a tip: If the behaviour hasn't changed over the latest Visionaire versions, lightmaps also work with colors, so you are not limited to black-grey-white. Shadows look more realistic when using blueish colors.

    Kleiner Tipp: Falls sich das Verhalten in den letzten Visionaire-Versionen nicht geändert hat, funktionieren auch farbige Lightmaps; man ist also nicht auf schwarz-grau-weiß beschränkt. Schatten wirken realistischer, wenn sie in Blautönen gehalten sind.

    Newbie

    81 Posts

  • #17, by MachtnixThursday, 08. June 2017, 14:53 3 years ago
    It's more a problem that transparency doesn't work in webp-formats. Definitely in my case. I don't know why not. So I will still use pngs. 

    Thread Captain

    1088 Posts

  • #18, by afrlmeThursday, 08. June 2017, 15:01 3 years ago
    It's more a problem that transparency doesn't work in webp-formats. Definitely in my case. I don't know why not. So I will still use pngs. 
    If you create a png with transparency then convert to webp (lossless) format with XnConvert then it will retain the transparency/alpha mask whatsit of the png.

    Imperator

    6862 Posts

  • #19, by MachtnixThursday, 08. June 2017, 15:14 3 years ago
    Hm, I did this, but it was an earlier version of r5. Maybe it was still a bug. 

    Thread Captain

    1088 Posts

  • #20, by afrlmeThursday, 08. June 2017, 15:19 3 years ago
    Hm, I did this, but it was an earlier version of r5. Maybe it was still a bug. 

    I don't know. I just mean for images/animations in general. Marian exports them as png files from cinema4d, then I convert them to webp lossless format to import into Visionaire Studio. Should work fine with both 4.2.5 & all versions of 5.x as far as I'm aware.

    Imperator

    6862 Posts

Write post