Creating Shadow LODs: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " it's" to " it is")
m (Text replacement - "\[\[[Cc]ategory:ArmA:[ _]?([^|]+)\]\]" to "{{GameCategory|arma1|$1}}")
Line 14: Line 14:
'''Note on special shadow LODs:''' There are special shadow LODs called ''ShadowVolume - View Pilot'', ''ShadowVolume - View Gunner'' and ''ShadowVolume - View Cargo''. Intuitively, if you want to add a shadow model to the ''View - Pilot'' LOD, you'd put it into ''ShadowVolume - View Pilot''. This however doesn't work. It may have worked at some point, but right now, you have to put it into ''ShadowVolume - View Cargo'', for it to work for both pilot/driver, gunner and cargo.
'''Note on special shadow LODs:''' There are special shadow LODs called ''ShadowVolume - View Pilot'', ''ShadowVolume - View Gunner'' and ''ShadowVolume - View Cargo''. Intuitively, if you want to add a shadow model to the ''View - Pilot'' LOD, you'd put it into ''ShadowVolume - View Pilot''. This however doesn't work. It may have worked at some point, but right now, you have to put it into ''ShadowVolume - View Cargo'', for it to work for both pilot/driver, gunner and cargo.


[[Category:ArmA: Modelling]]
{{GameCategory|arma1| Modelling}}

Revision as of 14:59, 6 January 2021

This is outdated information and should not be used for current Gen (A2, A3,...)

Shadow LOD must be exactly named (distance view LOD 10000.0). Containing volume that does not exceed volume of resolution LOD, that mesh is without texture link, closed, triangulated and with sharp edges.

Step by step

  1. Open a 10000 distance view LOD (note it is 10000 not 10.000)
  2. Make the model to use as a shadow inside the 10000 LOD ( for example a weapon should be like 200/300 polys tops, of course the less the better).
    PS: Don't forget to delete the textures applied on the Shadows model (if you have any) since it is all black you don't need it mapped.
  3. Inside the Shadow Lod (10000) with the entire model selected go to Structure/Topology/Find non-Closed and check if you have any opened point/faces (they get red if you do and below on your left O2 tells you the amount of them).
  4. If you do have any opened points/faces you must close them, you may try O2 to close them for you, for that go to Structure/Topology/Close, this should close the model for you, however, sometimes you need to do it by hand since this feature inside O2 has some limitations.
    PS: Be sure that all points/faces are closed, the best way to know this is by doing the step I wrote you before Structure/Topology/Find non-Closed and see if it gives you 0/0 on the left part below, if you miss this than not only the shadows won't work as most of the times the game will crash while loading the model.
  5. Finally with all points/faces closed, select the entire model and go to Structure/Triangulate (\) and Surfaces/Sharp Edge (U).


Note on special shadow LODs: There are special shadow LODs called ShadowVolume - View Pilot, ShadowVolume - View Gunner and ShadowVolume - View Cargo. Intuitively, if you want to add a shadow model to the View - Pilot LOD, you'd put it into ShadowVolume - View Pilot. This however doesn't work. It may have worked at some point, but right now, you have to put it into ShadowVolume - View Cargo, for it to work for both pilot/driver, gunner and cargo.