arma:modeling:shadows
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
arma:modeling:shadows [2015/08/22 01:45] – removed obsolete links. snakeman | arma:modeling:shadows [2024/08/01 10:00] (current) – links added. snakeman | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Shadows ====== | + | ====== |
+ | |||
+ | [[https:// | ||
+ | |||
+ | **ArmA 1** aka Armed Assault (ArmA) | ||
Used for HW shadow casting. The shadows are cast from this LOD on resolution LOD surfaces. The shadow volume area is made by extruding the lit faces of the shadow LOD (faces that have normals oriented towards the light) in the light direction. | Used for HW shadow casting. The shadows are cast from this LOD on resolution LOD surfaces. The shadow volume area is made by extruding the lit faces of the shadow LOD (faces that have normals oriented towards the light) in the light direction. | ||
Line 13: | Line 17: | ||
LOD must be named ShadowVolume 0.000, ShadowVolume 10.000 or ShadowVolume 1000.000 | LOD must be named ShadowVolume 0.000, ShadowVolume 10.000 or ShadowVolume 1000.000 | ||
- | * Shadow volume 0 is the main stencil shadow. It should have less than 1000 triangles. | + | * Shadow volume 0 is the main stencil shadow. It should have less than 1000 triangles. |
- | * Shadow Volume 10 is optimized stencil shadow LOD with as few triangles as possible. | + | * Shadow Volume 10 is optimized stencil shadow LOD with as few triangles as possible. |
* Shadow 1000 is special for trees, it uses alpha transparent textures to be calculated using GPU shadow buffer. (so this lod can have link on texture) | * Shadow 1000 is special for trees, it uses alpha transparent textures to be calculated using GPU shadow buffer. (so this lod can have link on texture) | ||
Line 34: | Line 38: | ||
- | ====== ShadowVolume on BIS MLODs ====== | + | ====== ShadowVolume on bis MLODs ====== |
- | These are statistics on the BIS MLOD vegetation objects for ShadowVolume settings. | + | These are statistics on the bis MLOD vegetation objects for ShadowVolume settings. |
akat02s:\\ | akat02s:\\ | ||
Line 152: | Line 156: | ||
4 - Open the same property (LODNoShadow) in all the other LODs but this time give it a value of 1. | 4 - Open the same property (LODNoShadow) in all the other LODs but this time give it a value of 1. | ||
- | 5 - Inside the Shadow Lod (10000) with the entire model selected go to Structure/ | + | 5 - Inside the Shadow Lod (10000) with the entire model selected go to Structure/ |
6 - If you do have any opened points/ | 6 - If you do have any opened points/ | ||
Line 169: | Line 173: | ||
inner shadow can cause sick effects on weapons ? | inner shadow can cause sick effects on weapons ? | ||
- | i get best results when shadow lod was almost copy of pilot view why shadows behave different ?\\ | + | i get best results when shadow lod was almost copy of pilot view why shadows behave different ?\\ |
i have my graphic options on LOW, maybe this ?\\ | i have my graphic options on LOW, maybe this ?\\ | ||
but i really get zebra effects | but i really get zebra effects | ||
Line 175: | Line 179: | ||
i gave no " | i gave no " | ||
i gave model with lower poly count as i it was in OFP maybe there should be more detailed model ?\\ | i gave model with lower poly count as i it was in OFP maybe there should be more detailed model ?\\ | ||
- | all faces are closed, no " | + | all faces are closed, no " |
half of gun is almost black on the soldiers there is " | half of gun is almost black on the soldiers there is " | ||
Line 182: | Line 186: | ||
====== Notes ====== | ====== Notes ====== | ||
- | **Armored_Sheep (BIS dev)**: The LODNoShadow property is not necessary. This property is used in other lods to disable shadow projection on too complex meshes. | + | **Armored_Sheep (bis dev)**: The LODNoShadow property is not necessary. This property is used in other lods to disable shadow projection on too complex meshes. |
ArmA engine uses Shadow Volume 0, Shadow Volume 10 and Shadow Volume 1000. Different values than that are not used. | ArmA engine uses Shadow Volume 0, Shadow Volume 10 and Shadow Volume 1000. Different values than that are not used. | ||
Line 195: | Line 199: | ||
===== Earl Summary ===== | ===== Earl Summary ===== | ||
- | **Earl (BIS dev)**: The only named property that should always be used is " | + | **Earl (bis dev)**: The only named property that should always be used is " |
Default behavior should be: | Default behavior should be: | ||
Line 206: | Line 210: | ||
===== Hand Rails ===== | ===== Hand Rails ===== | ||
- | **Armored_Sheep** (BIS Dev) about handrail modeling in houses: Stencil buffer shadows (those sharp polygons) are not able to use alpha transparency. They are drawn by extruding triangles from ShadowVolume lod. | + | **Armored_Sheep** (bis Dev) about handrail modeling in houses: Stencil buffer shadows (those sharp polygons) are not able to use alpha transparency. They are drawn by extruding triangles from ShadowVolume lod. |
If you choose shadow buffer casting (used on trees) you can have alpha transparent textures in shadow casting lod (you define this by properties in geometry lod) BUT you will be still limited by texture resolution (ArmA casts this shadow using single 2048x2048 texture for whole scene) | If you choose shadow buffer casting (used on trees) you can have alpha transparent textures in shadow casting lod (you define this by properties in geometry lod) BUT you will be still limited by texture resolution (ArmA casts this shadow using single 2048x2048 texture for whole scene) | ||
Line 226: | Line 230: | ||
Best check for shadow LOD is to create a big box in the first visual LOD, invert the faces (w-button) of this box and check the result in the buldozer. | Best check for shadow LOD is to create a big box in the first visual LOD, invert the faces (w-button) of this box and check the result in the buldozer. | ||
+ |
arma/modeling/shadows.1440207937.txt.gz · Last modified: 2015/08/22 01:45 (external edit)