XML:ONLV: Difference between revisions

m
no edit summary
m (vertex shading with render map data)
mNo edit summary
Line 5: Line 5:
* tips with cutscene charas: sync pelvis OBAN and partner TRAM
* tips with cutscene charas: sync pelvis OBAN and partner TRAM
* more information / updates for exported xml files
* more information / updates for exported xml files
* ModTool: is it possible that a light source and an object draw a shadow on another object?


__TOC__
__TOC__
Line 470: Line 471:
To get a general shading/lightning you can set up light sources. "Infinite" lights are useful for global lighting while "Light Box", "Point", "Neon" and "Spot" are more suitable for local light sources. They can be accessed via Primitives > Light.
To get a general shading/lightning you can set up light sources. "Infinite" lights are useful for global lighting while "Light Box", "Point", "Neon" and "Spot" are more suitable for local light sources. They can be accessed via Primitives > Light.


By default a Mod Tool scene has one Infinite light but it doesn't shine in every direction so you might want to add more Infinite lights. Let's say one Ininite light for each direction (+X, -X, +Y, -Y, +Z, -Z) with an intensity of circa 0.25 (night) or 0.75 (day).
By default a Mod Tool scene has one Infinite light but it doesn't shine in every direction so you might want to add more Infinite lights. Let's say one Infinite light for each direction (+X, -X, +Y, -Y, +Z, -Z) with an intensity of circa 0.25 (night) or 0.75 (day).


The illumination of those lights can be integrated into the vertex color property. There's some information [http://oni.bungie.org/community/forum/viewtopic.php?pid=29089#p29089 at OCF], the quoted information is somewhat triple so don't get confused by it: at first detailed, then summarized, then checklist-like.
The illumination of those lights can be integrated into the vertex color property. There's some information [http://oni.bungie.org/community/forum/viewtopic.php?pid=29089#p29089 at OCF], the quoted information is somewhat triple so don't get confused by it: at first detailed, then summarized, then a checklist.


Basically you can go with the checklist:
Basically you can go with the checklist:
8,452

edits