User Tools

Site Tools


arma3:modeling:hiddenselectionmaterials

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

arma3:modeling:hiddenselectionmaterials [2016/12/10 21:22] – created hiddenselectionmaterials initial page. snakemanarma3:modeling:hiddenselectionmaterials [2016/12/10 21:29] (current) – fixed page name :) snakeman
Line 1: Line 1:
-====== hiddenSelectionMaterials ====== 
  
-hiddenSelectionMaterials workaround by **da12thMonkey** 
- 
-hiddenSelectionMaterials is pretty broke. It works if the material is applied inside a P3D somewhere though. So you can apply it to a lower LOD and then let hiddenselections replace it in the in-game version. 
- 
-All different materials have to be used in the P3D for them to work. 
- 
-It's the only way to get the ones loaded from hiddenSelectionMaterials to apply 100% of the time. 
- 
-But still problems exist like damage textures will not load with hiddenSelectionMaterials on an object and if you're using the same selection names to apply the materials to the model as the texture, it means your lower LODs will have materials applied, which isn't optimal for performance (BIS models don't have .rvmats applied in the last LOD or two). 
- 
-it can be worth trying: 
-<code cpp> 
-hiddenSelections[] = { "camo1", "camo2", "mat1", "mat2" }; 
-</code> 
-To avoid that and only have the material selections in the top LODs. I think BIS has this setup on their GM6 rifle. 
- 
-So then you'd have: 
-<code cpp> 
-hiddenSelectionsTextures[] = { "texture1.paa", "texture2.paa" }; 
-hiddenSelectionMaterials[] = { "", "", "mat1.rvmat", "mat2.rvmat" }; 
-</code> 
arma3/modeling/hiddenselectionmaterials.1481404940.txt.gz · Last modified: 2016/12/10 21:22 by snakeman

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.