Portal-Zone Gothic-Zone Gothic II-Zone Gothic 3-Zone Gothic 4-Zone Modifikationen-Zone Download-Zone Foren-Zone RPG-Zone Almanach-Zone Spirit of Gothic

 

Ergebnis 1 bis 3 von 3
  1. Beiträge anzeigen #1 Zitieren
    Waldläufer
    Registriert seit
    Jan 2015
    Beiträge
    145
     
    stereoamplifier ist offline

    Light & ambient

    @MadFaTal ( ...or others modders ):
    -----------
    Sorry please - I have one question for you: If is inserted any added object into G3-world (no as "spawn" command - but really, using Project-compiled...), then is affected only by sun/moon light. But i want that this object was affectet to lights of torches, or campfires, etc. How is possible make lightmaps with compliance of ambient for inserted objects?

    Thanks...

  2. Beiträge anzeigen #2 Zitieren
    Rock Me Amadeus  Avatar von Askanius
    Registriert seit
    Oct 2009
    Beiträge
    3.972
     
    Askanius ist offline
    Pretty sure it's not possible for you.

    An entity can be illuminated either with a lightmap or per instance (referring up to 4 light sources to the Position of Light section of the entity). Small objects like chests, logs etc. use per instance lighting. g3dit can do this for you if you set it up correctly and give it all the file paths to the unpacked files that are needed. But this method also was only a workaround and sometimes it does not work properly.
    [Bild: perinstance.jpg]

    Meshes like houses, the world mesh etc. are usually affected by more than 4 light sources. On many meshes per instance lighting does not even work - don't know what's the reason for this. That's where you need lightmaps.
    For the G3 CSP George added a console command that lets Gothic3's game engine compile the lightmaps for a specific object. Additionaly it gives correct data that can be used for per instance lighting. But he never published that code as it also contains many other changes made specifically for our project.
    Geändert von Askanius (14.10.2017 um 16:28 Uhr)

  3. Beiträge anzeigen #3 Zitieren
    Waldläufer
    Registriert seit
    Jan 2015
    Beiträge
    145
     
    stereoamplifier ist offline

    re..

    Thanks for explain...

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
Impressum | Link Us | intern
World of Gothic © by World of Gothic Team
Gothic, Gothic 2 & Gothic 3 are © by Piranha Bytes & Egmont Interactive & JoWooD Productions AG, all rights reserved worldwide