User Tools

Site Tools


arma2:texturing:rvmat_embed

ArmA 2 RVMAT Embed

ArmA 2 Forum, ArmA 2 Home, ArmA 2 Config, ArmA 2 File Formats, ArmA 2 Missions, ArmA 2 3D Modeling, ArmA 2 Scripting, ArmA 2 Terrain, ArmA 2 Texturing, ArmA 2 Tools

Synide said:

'Primary' material files get embedded/baked into the model during binarization.

'Secondary' material files, such as damage materials or materials that one may 'swap' to from original 'primary' ones do not get embedded. And, as such must be included in the .pbo.

Once, the 'primary' material is inside the model I believe that one doesn't need to have the corresponding textual or binarized version of the same sitting inside the .pbo. Because, they are small and inconsequential in the scheme of things it's easier to include them all rather than excluding the unnecessary ones.

The entirety of the 'primary' material.rvmat gets embedded. Not, of course any of the raw image data that a given material.rvmat may point too in turn.

If you are trying to use 'new' shaders (and consequently any subordinate texture images) in your source textual material file and then expect the A1 binarize.exe to try and embed these into a A1 style binarized model, you won't succeed.

If, binarize.exe fails to pre-process a material then subsequently it will fail to embed said material into the output model.

Possibly, If the engine fails to find the appropriate proper embedded material information in the model (due to the above problem) it may then try looking in the .pbo for the textual/binarized version but I don't think it does. Been along time since I tested that.

If, you want to use these 'new' shaders etc. then for the moment probably don't binarize your model.

Seems a mute point though because if you wait a few shakes-of-a-lambs-tail the 'new' A2 binarize and associated tools should be along. And then you can knock yourselves out.

arma2/texturing/rvmat_embed.txt · Last modified: 2024/08/02 10:34 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.